PHP 4.0 Bug #6944 Updated: char / unsigned char mismatch

From: Date: Fri, 29 Sep 2000 21:13:02 +0000
Subject: PHP 4.0 Bug #6944 Updated: char / unsigned char mismatch
Groups: php.dev 
Request: Send a blank email to php-dev+get-33871@lists.php.net to get a copy of this message
ID: 6944 Updated by: rasmus Reported By: melchers@cis.fu-berlin.de Status: Closed Bug Type: Compile Warning Assigned To: Comments: Fixed in CVS I assume your compiler is printing warnings about these. Send me a list if there are others. Previous Comments: --------------------------------------------------------------------------- [2000-09-29 17:06:56] melchers@cis.fu-berlin.de (using php-3.0.17RC1) file functions/strings.c line 55 and many other occurences: return type of function is "char*" but the type returned (Variable "new") is of type "unsigned char *". In many functions the relationship "char" == "unsigned char" is assumed. This is lazy programmimng style. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6944

« previous php.dev (#33871) next »