diff options
author | Robin Barker <RMBarker@cpan.org> | 2005-06-20 14:47:37 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-06-20 16:28:38 +0000 |
commit | 3fbfee08a74a1551b76e125a3e0da03f2884c21b (patch) | |
tree | f58bf23b7a3a2a825c2c4f40d296feb599194837 /perl.h | |
parent | 7cfef17eab04537f006d60ddc6f37dc295472966 (diff) | |
download | perl-3fbfee08a74a1551b76e125a3e0da03f2884c21b.tar.gz |
FPTR2DPTR/DPTR2FPTR
Message-ID: <533D273D4014D411AB1D00062938C4D90849C6E4@hotel.npl.co.uk>
p4raw-id: //depot/perl@24915
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1515,8 +1515,8 @@ typedef UVTYPE UV; * The only feasible use is probably temporarily storing * function pointers in a data pointer (such as a void pointer). */ -#define DPTR2FPTR(t,p) ((t)PTR2UV(p)) /* data pointer to function pointer */ -#define FPTR2DPTR(t,p) ((t)PTR2UV(p)) /* function pointer to data pointer */ +#define DPTR2FPTR(t,p) ((t)(PTRV)(p)) /* data pointer to function pointer */ +#define FPTR2DPTR(t,p) ((t)(PTRV)(p)) /* function pointer to data pointer */ #ifdef USE_LONG_DOUBLE # if defined(HAS_LONG_DOUBLE) && LONG_DOUBLESIZE == DOUBLESIZE |