summaryrefslogtreecommitdiff
path: root/ext/bcmath/libbcmath/src/raisemod.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bcmath/libbcmath/src/raisemod.c')
-rw-r--r--ext/bcmath/libbcmath/src/raisemod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/bcmath/libbcmath/src/raisemod.c b/ext/bcmath/libbcmath/src/raisemod.c
index 821dddb870..a3154b55cd 100644
--- a/ext/bcmath/libbcmath/src/raisemod.c
+++ b/ext/bcmath/libbcmath/src/raisemod.c
@@ -80,21 +80,21 @@ bc_raisemod (bc_num base, bc_num expo, bc_num mod, bc_num *result, int scale)
/* Check the base for scale digits. */
if (power->n_scale != 0)
{
- bc_rt_warn ("non-zero scale in base");
+ php_error_docref (NULL, E_WARNING, "non-zero scale in base");
_bc_truncate (&power);
}
/* Check the exponent for scale digits. */
if (exponent->n_scale != 0)
{
- bc_rt_warn ("non-zero scale in exponent");
+ php_error_docref (NULL, E_WARNING, "non-zero scale in exponent");
_bc_truncate (&exponent);
}
/* Check the modulus for scale digits. */
if (modulus->n_scale != 0)
{
- bc_rt_warn ("non-zero scale in modulus");
+ php_error_docref (NULL, E_WARNING, "non-zero scale in modulus");
_bc_truncate (&modulus);
}