From: Antony Dovgal Date: Mon, 16 Jan 2006 23:03:41 +0000 (+0000) Subject: fix #36038 (ext/hash compile failure on Mac OSX) X-Git-Tag: RELEASE_1_0_4~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0a32f012786b7f3ddf44cdfbebaf43eff01df2b;p=php fix #36038 (ext/hash compile failure on Mac OSX) --- diff --git a/ext/hash/php_hash.h b/ext/hash/php_hash.h index 6f4891ae3f..4587f2b518 100644 --- a/ext/hash/php_hash.h +++ b/ext/hash/php_hash.h @@ -122,7 +122,7 @@ PHP_HASH_API void php_hash_register_algo(const char *algo, php_hash_ops *ops); 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++) {