diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/onlineupdate/mar_private.h | 2 | ||||
-rw-r--r-- | include/svx/msdffdef.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/onlineupdate/mar_private.h b/include/onlineupdate/mar_private.h index a770998da6fe..12ff99d65e1f 100644 --- a/include/onlineupdate/mar_private.h +++ b/include/onlineupdate/mar_private.h @@ -32,7 +32,7 @@ MOZ_STATIC_ASSERT(MAX_SIZE_OF_MAR_FILE < ((int64_t)LONG_MAX), /* We store at most the size up to the signature block + 4 bytes per BLOCKSIZE bytes */ -MOZ_STATIC_ASSERT(sizeof(BLOCKSIZE) < \ +MOZ_STATIC_ASSERT(sizeof(BLOCKSIZE) < (SIGNATURE_BLOCK_OFFSET + sizeof(uint32_t)), "BLOCKSIZE is too big"); diff --git a/include/svx/msdffdef.hxx b/include/svx/msdffdef.hxx index 4e2f1e0bb39c..73b9d2c2b095 100644 --- a/include/svx/msdffdef.hxx +++ b/include/svx/msdffdef.hxx @@ -26,7 +26,7 @@ #define DFF_COMMON_RECORD_HEADER_SIZE 8 -const sal_uInt32 nMaxLegalDffRecordLength = \ +const sal_uInt32 nMaxLegalDffRecordLength = SAL_MAX_UINT32 - DFF_COMMON_RECORD_HEADER_SIZE; #define DFF_PSFLAG_CONTAINER 0x0F // If the version field of a record |