From f0a32f012786b7f3ddf44cdfbebaf43eff01df2b Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 16 Jan 2006 23:03:41 +0000 Subject: [PATCH] fix #36038 (ext/hash compile failure on Mac OSX) --- ext/hash/php_hash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- 2.50.1