]> granicus.if.org Git - php/commitdiff
Remove a warning
authorYasuo Ohgaki <yohgaki@php.net>
Tue, 26 Nov 2002 02:13:35 +0000 (02:13 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Tue, 26 Nov 2002 02:13:35 +0000 (02:13 +0000)
ext/pgsql/pgsql.c

index ffa6d23b0d991950ef4ebd08503358afe34388bd..9ad86357ca5aab69f460f048b56b2a94e00ca7a4 100644 (file)
@@ -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;
                                }