From: Sascha Schumann Date: Tue, 13 Jun 2000 09:09:33 +0000 (+0000) Subject: Remove extra cast. `ch' is already of type `char *'. X-Git-Tag: php-4.0.1RC~225 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bbc4114f183cd5e136ba4ab231355c5e1c543e2;p=php Remove extra cast. `ch' is already of type `char *'. This unbreaks the build with xlc on AIX. --- diff --git a/ext/standard/scanf.c b/ext/standard/scanf.c index 50561239a2..ab2314d57d 100644 --- a/ext/standard/scanf.c +++ b/ext/standard/scanf.c @@ -469,7 +469,7 @@ PHPAPI int ValidateFormat(char *format,int numVars,int *totalSubs) if (*format == '\0') { goto badSet; } - (char *)ch = format++; + ch = format++; if (*ch == '^') { if (*format == '\0') { goto badSet;