From 7980a8b88b9e01b057ac1ad36c52ae65e2ef4512 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 20 Jan 2016 10:15:24 +0100 Subject: [PATCH] fix two long/zend_long mismatches --- src/php_pqres.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/php_pqres.c b/src/php_pqres.c index f2ddf98..68645a1 100644 --- a/src/php_pqres.c +++ b/src/php_pqres.c @@ -145,7 +145,7 @@ zval *php_pqres_typed_zval(php_pqres_t *res, Oid typ, zval *zv) goto noconversion; } { - long lval; + zend_long lval; double dval; switch (is_numeric_str_function(str, &lval, &dval)) { @@ -561,7 +561,7 @@ typedef struct php_pqres_col { static ZEND_RESULT_CODE column_nn(php_pqres_object_t *obj, zval *zcol, php_pqres_col_t *col) { - long index = -1; + zend_long index = -1; char *name = NULL; if (!zcol) { -- 2.30.2