diff --git a/services/pddb/src/backend/pagetable.rs b/services/pddb/src/backend/pagetable.rs index 5414c3a2b..e6a4ae131 100644 --- a/services/pddb/src/backend/pagetable.rs +++ b/services/pddb/src/backend/pagetable.rs @@ -164,7 +164,7 @@ pub(crate) struct EncryptedPage { /// journal_rev is encrypted and indicates the current journal revision for the block (u32 le) journal_rev: [u8; 4], /// data is encrypted and holds the good stuff - data: [u8; (PAGE_SIZE - size_of::() - size_of::() - size_of::())], + data: [u8; PAGE_SIZE - size_of::() - size_of::() - size_of::()], /// tag is the authentication tag. If the page decrypts & authenticates, we know it's a valid data block for us. p_tag: [u8; size_of::()], } \ No newline at end of file