diff options
Diffstat (limited to 'include/basic')
-rw-r--r-- | include/basic/sbxdef.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/basic/sbxdef.hxx b/include/basic/sbxdef.hxx index 74ae183f50ed..93cad7008f6f 100644 --- a/include/basic/sbxdef.hxx +++ b/include/basic/sbxdef.hxx @@ -181,10 +181,10 @@ namespace o3tl #define SbxMAXBYTE ( 255) #define SbxMAXINT ( 32767) #define SbxMININT (-32768) -#define SbxMAXUINT ((sal_uInt16) 65535) +#define SbxMAXUINT (sal_uInt16(65535)) #define SbxMAXLNG ( 2147483647) -#define SbxMINLNG ((sal_Int32)(-2147483647-1)) -#define SbxMAXULNG ((sal_uInt32) 0xffffffff) +#define SbxMINLNG (sal_Int32(-2147483647-1)) +#define SbxMAXULNG (sal_uInt32(0xffffffff)) // Currency stored as SbxSALINT64 == sal_Int64 // value range limits are ~(2^63 - 1)/10000 |