helly Sat Apr 14 11:15:13 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/dba/libcdb cdb.c
Log:
- MFH Fix warning
http://cvs.php.net/viewvc.cgi/php-src/ext/dba/libcdb/cdb.c?r1=1.10.2.1.2.2&r2=1.10.2.1.2.3&diff_format=u
Index: php-src/ext/dba/libcdb/cdb.c
diff -u php-src/ext/dba/libcdb/cdb.c:1.10.2.1.2.2
php-src/ext/dba/libcdb/cdb.c:1.10.2.1.2.3
--- php-src/ext/dba/libcdb/cdb.c:1.10.2.1.2.2 Mon Jan 1 09:36:00 2007
+++ php-src/ext/dba/libcdb/cdb.c Sat Apr 14 11:15:13 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cdb.c,v 1.10.2.1.2.2 2007/01/01 09:36:00 sebastian Exp $ */
+/* $Id: cdb.c,v 1.10.2.1.2.3 2007/04/14 11:15:13 helly Exp $ */
/* incorporated from D.J.Bernstein's cdb-0.75 (http://cr.yp.to/cdb.html)*/
@@ -68,7 +68,7 @@
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--) {
@@ -189,6 +189,6 @@
/* {{{ cdb_version */
char *cdb_version()
{
- return "0.75, $Revision: 1.10.2.1.2.2 $";
+ return "0.75, $Revision: 1.10.2.1.2.3 $";
}
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php