[PHP4BETA] CVS update: php4/ext/standard
| From: | sas | Date: | Sun, 16 May 1999 11:32:51 +0000 |
| Subject: | [PHP4BETA] CVS update: php4/ext/standard | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-879@lists.php.net to get a copy of this message | ||
Date: Sunday May 16, 1999 @ 7:32
Author: sas
Update of /repository/php4/ext/standard
In directory php:/tmp/cvs-serv17049/ext/standard
Modified Files:
string.c
Log Message:
char * => unsigned char *
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.14 php4/ext/standard/string.c:1.15
--- php4/ext/standard/string.c:1.14 Sun May 16 07:19:26 1999
+++ php4/ext/standard/string.c Sun May 16 07:32:51 1999
@@ -30,7 +30,7 @@
*/
-/* $Id: string.c,v 1.14 1999/05/16 11:19:26 sas Exp $ */
+/* $Id: string.c,v 1.15 1999/05/16 11:32:51 sas Exp $ */
#include <stdio.h>
#include "php.h"
@@ -45,9 +45,9 @@
static char hexconvtab[] = "0123456789abcdef";
-static char *php_bin2hex(const char *old, const size_t oldlen, size_t *newlen)
+static char *php_bin2hex(const unsigned char *old, const size_t oldlen, size_t *newlen)
{
- char *new = NULL;
+ unsigned char *new = NULL;
int i, j;
new = (char *) emalloc(oldlen * 2 * sizeof(char));
--
PHP 4 Beta