php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6944 char / unsigned char mismatch
Submitted: 2000-09-29 17:06 UTC Modified: 2000-09-29 17:13 UTC
From: melchers at cis dot fu-berlin dot de Assigned:
Status: Closed Package: Compile Warning
PHP Version: 3.0.16 OS: IRIX-6.5.8
Private report: No CVE-ID: None
 [2000-09-29 17:06 UTC] melchers at cis dot fu-berlin dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-29 17:13 UTC] rasmus@php.net
Fixed in CVS

I assume your compiler is printing warnings about these.  Send me a list if there are others.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC