cvs: php4 /ext/standard/ scanf.c
| From: | Sascha Schumann | Date: | Tue, 13 Jun 2000 09:09:33 +0000 |
| Subject: | cvs: php4 /ext/standard/ scanf.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-223@lists.php.net to get a copy of this message | ||
sas Tue Jun 13 02:09:33 2000 EDT
Modified files:
/php4/ext/standard scanf.c
Log:
Remove extra cast.
ch' is already of type char *'.
This unbreaks the build with xlc on AIX.
Index: php4/ext/standard/scanf.c
diff -u php4/ext/standard/scanf.c:1.1 php4/ext/standard/scanf.c:1.2
--- php4/ext/standard/scanf.c:1.1 Tue Jun 6 11:58:15 2000
+++ php4/ext/standard/scanf.c Tue Jun 13 02:09:33 2000
@@ -469,7 +469,7 @@
if (*format == '\0') {
goto badSet;
}
- (char *)ch = format++;
+ ch = format++;
if (*ch == '^') {
if (*format == '\0') {
goto badSet;