diff options
author | Lukas Mai <l.mai@web.de> | 2017-11-11 13:34:20 +0100 |
---|---|---|
committer | Lukas Mai <l.mai@web.de> | 2017-11-11 13:53:30 +0100 |
commit | b7112dce7ec5b90ace89fcf4598b0be8168fea82 (patch) | |
tree | 08af05d6a7494380996d9a929aba4e3a74dfb9c3 /handy.h | |
parent | 2b8b74b0774fa605da54cf36ca3be953a4ef9703 (diff) | |
download | perl-b7112dce7ec5b90ace89fcf4598b0be8168fea82.tar.gz |
fix MEM_SIZE_MAX definition
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2295,7 +2295,7 @@ PoisonWith(0xEF) for catching access to freed memory. #define NEWSV(x,len) newSV(len) #endif -#define MEM_SIZE_MAX ((MEM_SIZE)~0) +#define MEM_SIZE_MAX ((MEM_SIZE)-1) #define _PERL_STRLEN_ROUNDUP_UNCHECKED(n) (((n) - 1 + PERL_STRLEN_ROUNDUP_QUANTUM) & ~((MEM_SIZE)PERL_STRLEN_ROUNDUP_QUANTUM - 1)) |