php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #285 Prototype mismatch
Submitted: 1998-04-18 07:37 UTC Modified: 1998-06-26 11:18 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: sgk at happysize dot co dot jp Assigned:
Status: Closed Package: Compile Warning
PHP Version: 3.0 Latest CVS OS: Solaris 2.5.1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sgk at happysize dot co dot jp
New email:
PHP Version: OS:

 

 [1998-04-18 07:37 UTC] sgk at happysize dot co dot jp
These warnings are not serious.
But my compiler (Sun Workshop Compiler) claims a lot.
I hope these are fixed.

fopen-wrappers.c:424 base64_encode()
  proto: const unsigned char *
  used: char *

functions/html.c:76
  unsigned char * = char *

functions/md5.c:71 PHP3_MD5Update
  proto: const unsigned char *
  used: char *

functions/string.c:588,589 strlen()
  proto: const char *
  used: unsigned char *

functions/base64.c:46,82,149,168 strlen()
  proto: const char *
  used: const unsigned char *, unsigned char *

functions/base64.c:146,165 base64_encode()
  proto: const unsigned char *
  used: char *

functions/base64.c:148
  char * = unsigned char *

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-06-26 11:18 UTC] rasmus
Some of these have been fixed.  If you could try the current CVS and send a current list of these we can get the rest cleaned up.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 15 01:01:36 2024 UTC