From a3de9b9a9727da73837fa7f9d1250387aae0aedb Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Fri, 6 Oct 2006 03:41:54 +0000 Subject: [PATCH] *** empty log message *** --- ase/awk/awk.h | 4 ++-- ase/awk/run.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ase/awk/awk.h b/ase/awk/awk.h index 51a5a3bc..7602dac1 100644 --- a/ase/awk/awk.h +++ b/ase/awk/awk.h @@ -1,5 +1,5 @@ /* - * $Id: awk.h,v 1.122 2006-10-06 03:33:43 bacon Exp $ + * $Id: awk.h,v 1.123 2006-10-06 03:41:54 bacon Exp $ */ #ifndef _XP_AWK_AWK_H_ @@ -354,7 +354,7 @@ xp_long_t xp_awk_strxtolong ( int base, const xp_char_t** endptr); xp_real_t xp_awk_strxtoreal ( xp_awk_t* awk, const xp_char_t* str, xp_size_t len, - const xp_char_t* endptr); + const xp_char_t** endptr); xp_size_t xp_awk_longtostr ( xp_long_t value, int radix, const xp_char_t* prefix, diff --git a/ase/awk/run.c b/ase/awk/run.c index 550a5529..f0fdc6de 100644 --- a/ase/awk/run.c +++ b/ase/awk/run.c @@ -1,5 +1,5 @@ /* - * $Id: run.c,v 1.224 2006-10-06 03:37:40 bacon Exp $ + * $Id: run.c,v 1.225 2006-10-06 03:41:54 bacon Exp $ */ #include @@ -2842,7 +2842,7 @@ static int __cmp_int_str ( r = xp_awk_strxtolong (run->awk, ((xp_awk_val_str_t*)right)->buf, - ((xp_awk_val_str_t*)right)->len, 0, &str); + ((xp_awk_val_str_t*)right)->len, 0, (const xp_char_t**)&str); if (str == ((xp_awk_val_str_t*)right)->buf + ((xp_awk_val_str_t*)right)->len) { @@ -2850,7 +2850,7 @@ static int __cmp_int_str ( if (((xp_awk_val_int_t*)left)->val < r) return -1; return 0; } - else if (*str == XP_T('.') || *str == XP_T('E') || *sstr == XP_T('e')) + else if (*str == XP_T('.') || *str == XP_T('E') || *str == XP_T('e')) { /* TODO: */ /*