From: Anatol Belski Date: Wed, 27 Aug 2014 22:16:32 +0000 (+0200) Subject: fix remaining 's' args for pgsql X-Git-Tag: PRE_PHP7_REMOVALS~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca0069bc338869b105cee08292130ebac4a4000b;p=php fix remaining 's' args for pgsql --- diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index a646933e76..3ee49b762e 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -1919,7 +1919,8 @@ PHP_FUNCTION(pg_query_params) zval *pgsql_link = NULL; zval *pv_param_arr, *tmp; char *query; - size_t query_len, id = -1, argc = ZEND_NUM_ARGS(); + size_t query_len; + int id = -1, argc = ZEND_NUM_ARGS(); int leftover = 0; int num_params = 0; char **params = NULL; @@ -3755,7 +3756,7 @@ PHP_FUNCTION(pg_lo_seek) PHP_FUNCTION(pg_lo_tell) { zval *pgsql_id = NULL; - long offset = 0; + zend_long offset = 0; pgLofp *pgsql; int argc = ZEND_NUM_ARGS();