cvs: /php3/functions string.c

From: Date: Mon, 27 Dec 1999 09:20:02 +0000
Subject: cvs: /php3/functions string.c
Groups: php.dev 
Request: Send a blank email to php-dev+get-14056@lists.php.net to get a copy of this message
fmk Mon Dec 27 04:20:02 1999 EDT Modified files: /php3/functions string.c Log: Changed type from int to size_t on local vars. Thes removes compiler warning on Win32 Index: php3/functions/string.c diff -u php3/functions/string.c:1.206 php3/functions/string.c:1.207 --- php3/functions/string.c:1.206 Sun Dec 26 13:44:48 1999 +++ php3/functions/string.c Mon Dec 27 04:20:01 1999 @@ -29,7 +29,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.206 1999/12/26 18:44:48 rasmus Exp $ */ +/* $Id: string.c,v 1.207 1999/12/27 09:20:01 fmk Exp $ */ #include <stdio.h> #include "php.h" #include "internal_functions.h" @@ -47,7 +47,7 @@ static char *php_bin2hex(const unsigned char *old, const size_t oldlen, size_t *newlen) { unsigned char *new = NULL; - int i, j; + size_t i, j; new = (char *) emalloc(oldlen * 2 * sizeof(char)); if(!new) {

« previous php.dev (#14056) next »