diff options
| author | Mateusz Kocielski <shm@php.net> | 2011-11-19 12:46:43 +0000 |
|---|---|---|
| committer | Mateusz Kocielski <shm@php.net> | 2011-11-19 12:46:43 +0000 |
| commit | 63b8ff76198e886133d28987d49dc1358629e814 (patch) | |
| tree | 1b91458d5f4481b3b4867346110e383eb93851f9 /ext/bcmath/bcmath.c | |
| parent | 22028c78f82371f8fb2f7ab94b69c21383aa2647 (diff) | |
| download | php-git-63b8ff76198e886133d28987d49dc1358629e814.tar.gz | |
- Fixed bug #60337 bcscale related crashed on 64bits platforms
Diffstat (limited to 'ext/bcmath/bcmath.c')
| -rw-r--r-- | ext/bcmath/bcmath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c index f42d3363b3..bd9d6608a3 100644 --- a/ext/bcmath/bcmath.c +++ b/ext/bcmath/bcmath.c @@ -560,7 +560,7 @@ PHP_FUNCTION(bcscale) return; } - BCG(bc_precision) = (new_scale < 0) ? 0 : new_scale; + BCG(bc_precision) = ((int)new_scale < 0) ? 0 : new_scale; RETURN_TRUE; } |
