diff options
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; } |