X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=src%2Fphp_pqconn.c;fp=src%2Fphp_pqconn.c;h=f66ae0cb0a3d275401d01c27595b3d6b52cd5d38;hp=d0ddfef9317c8036cc666f835dea8197c82bee63;hb=868303fdfb0322ada371db96cba7cb91c7b254dc;hpb=34c095436315742ca4af4b671f54ad235b905c6f diff --git a/src/php_pqconn.c b/src/php_pqconn.c index d0ddfef..f66ae0c 100644 --- a/src/php_pqconn.c +++ b/src/php_pqconn.c @@ -1571,7 +1571,7 @@ ZEND_BEGIN_ARG_INFO_EX(ai_pqconn_escape_bytea, 0, 0, 1) ZEND_END_ARG_INFO(); static PHP_METHOD(pqconn, escapeBytea) { char *str; - int len; + size_t len; if (SUCCESS == zend_parse_parameters(ZEND_NUM_ARGS(), "s", &str, &len)) { php_pqconn_object_t *obj = PHP_PQ_OBJ(getThis(), NULL);