diff options
Diffstat (limited to 'ext/bcmath/libbcmath/src/zero.c')
-rw-r--r-- | ext/bcmath/libbcmath/src/zero.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/bcmath/libbcmath/src/zero.c b/ext/bcmath/libbcmath/src/zero.c index dce77ba4aa..4ee249ee71 100644 --- a/ext/bcmath/libbcmath/src/zero.c +++ b/ext/bcmath/libbcmath/src/zero.c @@ -41,14 +41,13 @@ /* In some places we need to check if the number NUM is zero. */ char -bc_is_zero (num) - bc_num num; +bc_is_zero (bc_num num TSRMLS_DC) { int count; char *nptr; /* Quick check. */ - if (num == _zero_) return TRUE; + if (num == BCG(_zero_)) return TRUE; /* Initialize */ count = num->n_len + num->n_scale; |