Re: [PHP-DEV] _php3_memnstr errors From: Shane Caraveo (shane <email protected>)
Date: 12/20/98

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 <email protected>
For help: php-dev-help <email protected>