summaryrefslogtreecommitdiff
path: root/ext/dba/libcdb
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-11-13 16:30:50 +0000
committerMarcus Boerger <helly@php.net>2002-11-13 16:30:50 +0000
commit244d5d1c113980c50800015ee2b9e04ce719bc60 (patch)
treea4efdff5d640eb2cafc7c5981bf1d03aa737ac97 /ext/dba/libcdb
parent4dd5fc67b71fe0271c33494684db065a7f0be0c4 (diff)
downloadphp-git-244d5d1c113980c50800015ee2b9e04ce719bc60.tar.gz
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.
Diffstat (limited to 'ext/dba/libcdb')
-rw-r--r--ext/dba/libcdb/cdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dba/libcdb/cdb.c b/ext/dba/libcdb/cdb.c
index df0375354a..7857fa20b0 100644
--- a/ext/dba/libcdb/cdb.c
+++ b/ext/dba/libcdb/cdb.c
@@ -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);