From 0209563f3979cde5f9f404d99fb5557cb07c364a Mon Sep 17 00:00:00 2001 From: Matt Hoyle Date: Tue, 3 Feb 2015 13:29:00 +0000 Subject: [PATCH] Update expoennt to exponent to match member name. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `expoennt` was causing a bigdecimal build to fail with: bigdecimal.c: In function âVpSetPTRâ: bigdecimal.c:4421:5: error: âRealâ has no member named âexpoenntâ --- ext/bigdecimal/bigdecimal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index 6d3ef77b149d5f..ea88eb41c296f2 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -4453,7 +4453,7 @@ VpSetPTR(Real *a, Real *b, Real *c, size_t *a_pos, size_t *b_pos, size_t *c_pos, size_t const round_limit = (VpGetPrecLimit() + BASE_FIG - 1) / BASE_FIG; - assert(a->exponent >= b->expoennt); + assert(a->exponent >= b->exponent); c->frac[0] = 0; *av = *bv = 0;