summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-11-26 02:13:35 +0000
committerYasuo Ohgaki <yohgaki@php.net>2002-11-26 02:13:35 +0000
commitf0b6f5450ca8888f79a4fb2ab77b628b3c49120f (patch)
tree7419fe70967116a7a8ca4cfdcc90953398314bca
parent693204265e3970c58932aef21fb4d25e3f1ea1fd (diff)
downloadphp-git-f0b6f5450ca8888f79a4fb2ab77b628b3c49120f.tar.gz
Remove a warning
-rw-r--r--ext/pgsql/pgsql.c2
1 files changed, 1 insertions, 1 deletions
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;
}