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
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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC