summaryrefslogtreecommitdiff
path: root/pad.c
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2015-05-19 01:23:29 -0400
committerSteve Hay <steve.m.hay@googlemail.com>2015-05-19 08:20:47 +0100
commita1c993639224dffaa6c41b1639df7eac4e8134fc (patch)
treebb9cec55bb238e7cd3f059715abf0105b3b0472e /pad.c
parenta68d0dcb5125eb9a5a724f289abc7446dce0b12a (diff)
downloadperl-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pad.c b/pad.c
index ad1fc85583..f5ce5f5071 100644
--- a/pad.c
+++ b/pad.c
@@ -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