summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/mysqli_api.c')
-rw-r--r--ext/mysqli/mysqli_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c
index f6286af4c4..0b6d866437 100644
--- a/ext/mysqli/mysqli_api.c
+++ b/ext/mysqli/mysqli_api.c
@@ -919,7 +919,7 @@ PHP_FUNCTION(mysqli_stmt_execute)
break;
case MYSQL_TYPE_LONGLONG:
case MYSQL_TYPE_LONG:
- convert_to_int_ex(param);
+ convert_to_long_ex(param);
stmt->stmt->params[i].buffer = &Z_LVAL_P(param);
break;
default:
@@ -1787,7 +1787,7 @@ PHP_FUNCTION(mysqli_options)
convert_to_string_ex(mysql_value);
break;
case IS_LONG:
- convert_to_int_ex(mysql_value);
+ convert_to_long_ex(mysql_value);
break;
default:
break;