From: Dmitry Stogov Date: Wed, 16 Jan 2008 06:15:19 +0000 (+0000) Subject: Fixed wrong type cast X-Git-Tag: RELEASE_2_0_0a1~881 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7e75fd692737131d223273bd4132d4e0e90a501;p=php Fixed wrong type cast --- diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 4854c79d4e..5e5e510b2d 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -495,7 +495,7 @@ ZEND_INI_MH(OnUpdateCacheMode) char *base = (char *) ts_resource(*((int *) mh_arg2)); #endif - p = (long*) (base+(size_t) mh_arg1); + p = (char*) (base+(size_t) mh_arg1); *p = (char)atoi(new_value);