tony2001                Mon Jan 16 23:03:41 2006 UTC

  Modified files:              
    /php-src/ext/hash   php_hash.h 
  Log:
  fix #36038 (ext/hash compile failure on Mac OSX)
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/hash/php_hash.h?r1=1.17&r2=1.18&diff_format=u
Index: php-src/ext/hash/php_hash.h
diff -u php-src/ext/hash/php_hash.h:1.17 php-src/ext/hash/php_hash.h:1.18
--- php-src/ext/hash/php_hash.h:1.17    Sun Jan  1 13:09:50 2006
+++ php-src/ext/hash/php_hash.h Mon Jan 16 23:03:41 2006
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: php_hash.h,v 1.17 2006/01/01 13:09:50 sniper Exp $ */
+/* $Id: php_hash.h,v 1.18 2006/01/16 23:03:41 tony2001 Exp $ */
 
 #ifndef PHP_HASH_H
 #define PHP_HASH_H
@@ -122,7 +122,7 @@
 
 static inline void php_hash_bin2hex(char *out, const unsigned char *in, int 
in_len)
 {
-       static const char hexits[16] = "0123456789abcdef";
+       static const char hexits[17] = "0123456789abcdef";
        int i;
 
        for(i = 0; i < in_len; i++) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to