diff options
author | Daniel Dragan <bulk88@hotmail.com> | 2015-05-19 01:23:29 -0400 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2015-05-19 08:20:47 +0100 |
commit | a1c993639224dffaa6c41b1639df7eac4e8134fc (patch) | |
tree | bb9cec55bb238e7cd3f059715abf0105b3b0472e /pad.c | |
parent | a68d0dcb5125eb9a5a724f289abc7446dce0b12a (diff) | |
download | perl-a1c993639224dffaa6c41b1639df7eac4e8134fc.tar.gz |
dont use a 64 bit constant for a 32 bit value
Perl on MSVC6 doesnt support 64 bit ints (p5p choice not to support it)
so this macro isn't defined on MSVC6 builds, commit e59642234e hid this
mistake from non-DEBUGGING builds. The mistake is a copy paste mistake
from commit eacbb37937 . Miniperl fails at VC6 link time due to UINT64_C
symboil not being found.
..\pad.c(165) : warning C4013: 'UINT64_C' undefined; assuming extern
returning int
..\pad.c(165) : warning C4018: '!=' : signed/unsigned mismatch
Diffstat (limited to 'pad.c')
-rw-r--r-- | pad.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -162,7 +162,7 @@ Perl_set_padlist(CV * cv, PADLIST *padlist){ # if PTRSIZE == 8 assert((Size_t)padlist != UINT64_C(0xEFEFEFEFEFEFEFEF)); # elif PTRSIZE == 4 - assert((Size_t)padlist != UINT64_C(0xEFEFEFEF)); + assert((Size_t)padlist != 0xEFEFEFEF); # else # error unknown pointer size # endif |