]> granicus.if.org Git - php/commitdiff
must be unsigned
authorMarcus Boerger <helly@php.net>
Wed, 13 Nov 2002 16:30:50 +0000 (16:30 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 13 Nov 2002 16:30:50 +0000 (16:30 +0000)
# 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.

ext/dba/libcdb/cdb.c

index df0375354a55163045e7d5b9db520afe0c039d06..7857fa20b07d8e2e7f2bb0e6c40baffc0c2a0639 100644 (file)
@@ -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);