helly Sat Apr 14 11:14:40 2007 UTC
Modified files:
/php-src/ext/dba/libcdb cdb.c
Log:
- Fix warning
http://cvs.php.net/viewvc.cgi/php-src/ext/dba/libcdb/cdb.c?r1=1.13&r2=1.14&diff_format=u
Index: php-src/ext/dba/libcdb/cdb.c
diff -u php-src/ext/dba/libcdb/cdb.c:1.13 php-src/ext/dba/libcdb/cdb.c:1.14
--- php-src/ext/dba/libcdb/cdb.c:1.13 Mon Jan 1 09:29:23 2007
+++ php-src/ext/dba/libcdb/cdb.c Sat Apr 14 11:14:40 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cdb.c,v 1.13 2007/01/01 09:29:23 sebastian Exp $ */
+/* $Id: cdb.c,v 1.14 2007/04/14 11:14:40 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.13 $";
+ return "0.75, $Revision: 1.14 $";
}
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php