aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-02-27 06:01:30 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-02-27 06:01:30 +0200
commitd80438ac6fef9137ab0450f02cd507d422aa9c32 (patch)
tree284a17657812e9322dc5ca4ec95b970d5b2e28f9 /builtin.c
parent6994c5d1fc086915699a04bba84596c6fbf488da (diff)
downloadegawk-d80438ac6fef9137ab0450f02cd507d422aa9c32.tar.gz
egawk-d80438ac6fef9137ab0450f02cd507d422aa9c32.tar.bz2
egawk-d80438ac6fef9137ab0450f02cd507d422aa9c32.zip
Lots of enum/int fixes.
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin.c b/builtin.c
index 7a969cbc..72aea3b0 100644
--- a/builtin.c
+++ b/builtin.c
@@ -719,7 +719,7 @@ format_tree(
mpz_ptr zi;
mpfr_ptr mf;
#endif
- enum { MP_INT_WITH_PREC = 1, MP_INT_WITHOUT_PREC, MP_FLOAT } fmt_type;
+ enum { MP_NONE = 0, MP_INT_WITH_PREC = 1, MP_INT_WITHOUT_PREC, MP_FLOAT } fmt_type;
static const char sp[] = " ";
static const char zero_string[] = "0";
@@ -817,7 +817,7 @@ format_tree(
mf = NULL;
zi = NULL;
#endif
- fmt_type = 0;
+ fmt_type = MP_NONE;
lj = alt = big_flag = bigbig_flag = small_flag = false;
fill = sp;