helly Wed Nov 13 11:30:51 2002 EDT Modified files: /php4/ext/dba/libcdb cdb.c Log: must be unsigned # maybe i will change this to size_t for 64bit systems but i do not have the # time now and i have problems building php on a sun. Index: php4/ext/dba/libcdb/cdb.c diff -u php4/ext/dba/libcdb/cdb.c:1.2 php4/ext/dba/libcdb/cdb.c:1.3 --- php4/ext/dba/libcdb/cdb.c:1.2 Wed Nov 13 07:12:44 2002 +++ php4/ext/dba/libcdb/cdb.c Wed Nov 13 11:30:50 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: cdb.c,v 1.2 2002/11/13 12:12:44 edink Exp $ */ +/* $Id: cdb.c,v 1.3 2002/11/13 16:30:50 helly Exp $ */ /* incorporated from D.J.Bernstein's cdb-0.75 (http://cr.yp.to/cdb.html)*/ @@ -46,7 +46,7 @@ static int cdb_match(struct cdb *c, char *key, unsigned int len, uint32 pos TSRMLS_DC) { char buf[32]; - int n; + unsigned int n; while (len > 0) { n = sizeof(buf);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php