summaryrefslogtreecommitdiff
path: root/field.c
diff options
context:
space:
mode:
authorjohn haque <j.eh@mchsi.com>2012-02-14 08:13:19 -0600
committerjohn haque <j.eh@mchsi.com>2012-02-14 08:13:19 -0600
commit06a6f16495e2a3d0cb664fc473107d3cdbe6f11e (patch)
treee9cd44bcd2ea18759036e894c09199378f960c2d /field.c
parentcd44d957787e162df4348028c22e8b9621000790 (diff)
downloadgawk-06a6f16495e2a3d0cb664fc473107d3cdbe6f11e.tar.gz
Add infrastructure for MPFR/GMP support.
Diffstat (limited to 'field.c')
-rw-r--r--field.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/field.c b/field.c
index 91789d2f..1a0f4f43 100644
--- a/field.c
+++ b/field.c
@@ -323,7 +323,8 @@ set_NF()
assert(NF != -1);
- nf = (long) force_number(NF_node->var_value);
+ (void) force_number(NF_node->var_value);
+ nf = get_number_si(NF_node->var_value);
if (nf < 0)
fatal(_("NF set to negative value"));
NF = nf;