summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2007-04-14 11:15:13 +0000
committerMarcus Boerger <helly@php.net>2007-04-14 11:15:13 +0000
commita4bf33f02d8ff20cd398020bd6551ae4ab32532f (patch)
tree2fb1c3e8f63701e67ba502d7629525318a171b33
parent85fe8e9663b7e836d344b75c84666c2ad19e28bf (diff)
downloadphp-git-a4bf33f02d8ff20cd398020bd6551ae4ab32532f.tar.gz
- MFH Fix warning
-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 3850feff90..1dec44ff0b 100644
--- a/ext/dba/libcdb/cdb.c
+++ b/ext/dba/libcdb/cdb.c
@@ -68,7 +68,7 @@ static int cdb_match(struct cdb *c, char *key, unsigned int len, uint32 pos TSRM
uint32 cdb_hash(char *buf, unsigned int len)
{
uint32 h;
- const unsigned char * b = buf;
+ const unsigned char * b = (unsigned char *)buf;
h = CDB_HASHSTART;
while (len--) {