]> granicus.if.org Git - php/commitdiff
- Fix warning
authorMarcus Boerger <helly@php.net>
Sat, 14 Apr 2007 11:14:40 +0000 (11:14 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 14 Apr 2007 11:14:40 +0000 (11:14 +0000)
ext/dba/libcdb/cdb.c

index 3850feff9085a145ecc8331c7ea2c89546180ae6..1dec44ff0bed1b9efb31548de881e324a7ea9228 100644 (file)
@@ -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--) {