diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-18 20:58:44 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-18 20:58:44 +0000 |
commit | 1779d84dfb511a39bc8c645afc698f9dce95ef29 (patch) | |
tree | 6c603ad4f13f185c4d97e940cc7c35bb358fa21c /x2p | |
parent | 4049dcd4538c1301929cdfff69bc80cbae742f94 (diff) | |
download | perl-1779d84dfb511a39bc8c645afc698f9dce95ef29.tar.gz |
%g -> NVgf cleanup, based on Schwern's RedHat 7.1/Alpha
findings -- some of the warnings I can't explain except
by NVgf being detected wrong, though.
p4raw-id: //depot/perl@13764
Diffstat (limited to 'x2p')
-rw-r--r-- | x2p/a2p.h | 2 | ||||
-rw-r--r-- | x2p/str.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -362,7 +362,7 @@ EXT char *No INIT(""); #define str_true(str) (Str = (str), (Str->str_pok ? True(Str->str_ptr) : (Str->str_nok ? (Str->str_nval != 0.0) : 0 ))) -#define str_peek(str) (Str = (str), (Str->str_pok ? Str->str_ptr : (Str->str_nok ? (sprintf(buf,"num(%g)",Str->str_nval),buf) : "" ))) +#define str_peek(str) (Str = (str), (Str->str_pok ? Str->str_ptr : (Str->str_nok ? (sprintf(buf,"num(%"NVgf")",Str->str_nval),buf) : "" ))) #define str_get(str) (Str = (str), (Str->str_pok ? Str->str_ptr : str_2ptr(Str))) #define str_gnum(str) (Str = (str), (Str->str_nok ? Str->str_nval : str_2num(Str))) EXT STR *Str; @@ -55,7 +55,7 @@ str_2num(register STR *str) str->str_nok = 1; #ifdef DEBUGGING if (debug & 32) - fprintf(stderr,"0x%lx num(%g)\n",(unsigned long)str,str->str_nval); + fprintf(stderr,"0x%lx num(%"NVgf")\n",(unsigned long)str,str->str_nval); #endif return str->str_nval; } |