From: Sascha Schumann Date: Mon, 16 Jun 2003 19:05:37 +0000 (+0000) Subject: Remove cast which hides a bug in the code. X-Git-Tag: php-4.3.3RC1~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20088e34b555b038449d50e9c38dab25e27d96d3;p=php Remove cast which hides a bug in the code. --- diff --git a/ext/hyperwave/hg_comm.c b/ext/hyperwave/hg_comm.c index 567ae5f7b3..5e1e952244 100644 --- a/ext/hyperwave/hg_comm.c +++ b/ext/hyperwave/hg_comm.c @@ -654,7 +654,7 @@ char *fnInsAnchorsIntoText(char *text, DLIST *pAnchorList, char **bodytag, char scriptname = emalloc(5*sizeof(char *)); if (zend_hash_find(&EG(symbol_table), "SCRIPT_NAME", sizeof("SCRIPT_NAME"), (void **) &script_name)==FAILURE) for(i=0; i<5; i++) - scriptname[i] = (char *) &emptystring; + scriptname[i] = &emptystring; else { convert_to_string_ex(script_name); for(i=0; i<5; i++)