Skip to content

Commit f0b6f54

Browse files
author
Yasuo Ohgaki
committed
Remove a warning
1 parent 6932042 commit f0b6f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pgsql/pgsql.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2714,7 +2714,7 @@ static unsigned char * php_pgsql_unescape_bytea(unsigned char *strtext, size_t *
27142714
memcpy(buf, sp-2, 3);
27152715
buf[3] = '\0';
27162716
start = buf;
2717-
*bp = (unsigned char)strtoul(start, &end, 8);
2717+
*bp = (unsigned char)strtoul(start, (char **)&end, 8);
27182718
buflen -= 3;
27192719
state = 0;
27202720
}

0 commit comments

Comments
 (0)