summaryrefslogtreecommitdiff
path: root/ext/pdo/pdo_sql_parser.re
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo/pdo_sql_parser.re')
-rw-r--r--ext/pdo/pdo_sql_parser.re2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_sql_parser.re b/ext/pdo/pdo_sql_parser.re
index e2723bb883..94ad04b983 100644
--- a/ext/pdo/pdo_sql_parser.re
+++ b/ext/pdo/pdo_sql_parser.re
@@ -248,7 +248,7 @@ safe:
case IS_FALSE:
case IS_TRUE:
- convert_to_int(&tmp_param);
+ convert_to_long(&tmp_param);
/* fall through */
case IS_LONG:
case IS_DOUBLE: