From: Marcus Boerger Date: Sat, 14 Apr 2007 11:15:13 +0000 (+0000) Subject: - MFH Fix warning X-Git-Tag: php-5.2.2RC2~89 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4bf33f02d8ff20cd398020bd6551ae4ab32532f;p=php - MFH Fix warning --- 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--) {