From f0b6f5450ca8888f79a4fb2ab77b628b3c49120f Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Tue, 26 Nov 2002 02:13:35 +0000 Subject: [PATCH] Remove a warning --- ext/pgsql/pgsql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index ffa6d23b0d..9ad86357ca 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -2714,7 +2714,7 @@ static unsigned char * php_pgsql_unescape_bytea(unsigned char *strtext, size_t * memcpy(buf, sp-2, 3); buf[3] = '\0'; start = buf; - *bp = (unsigned char)strtoul(start, &end, 8); + *bp = (unsigned char)strtoul(start, (char **)&end, 8); buflen -= 3; state = 0; } -- 2.50.1