aboutsummaryrefslogtreecommitdiffstats
path: root/mpfr.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpfr.c')
-rw-r--r--mpfr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpfr.c b/mpfr.c
index 533ec9d9..9b9e538e 100644
--- a/mpfr.c
+++ b/mpfr.c
@@ -377,7 +377,7 @@ mpg_format_val(const char *format, int index, NODE *s)
} else {
r = format_tree(format, fmt_list[index]->stlen, dummy, 2);
assert(r != NULL);
- s->stfmt = (char) index;
+ s->stfmt = index;
}
s->flags = oflags;
s->stlen = r->stlen;