From: Michael Wallner Date: Wed, 20 Jan 2016 09:15:24 +0000 (+0100) Subject: fix two long/zend_long mismatches X-Git-Tag: v2.0.0~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=7980a8b88b9e01b057ac1ad36c52ae65e2ef4512;p=m6w6%2Fext-pq fix two long/zend_long mismatches --- 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) {