Re: _php3_memnstr errors
| From: | Shane Caraveo | Date: | Sun, 20 Dec 1998 19:02:51 +0000 |
| Subject: | Re: _php3_memnstr errors | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-2919@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
>
> > string.c(1244) : error C2036: 'void *' : unknown size
> > string.c(1244) : error C2036: 'void *' : unknown size
> > string.c(1245) : error C2036: 'void *' : unknown size
> > string.c(1245) : error C2036: 'void *' : unknown size
> >
> > I'm going to look at and try to fix, but if someone know's what's a
> > going on, please take a look.
>
> MSVC doesn't like void pointers, I guess. I don't think there is any real
> reason to have these be void *'s. Sascha, this is you code. Why did you
> make them void *'s?
>
> -Rasmus
Ok, changing to unsigned char * fixed the compiler errors.
Shane
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net