summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-01-16 23:03:41 +0000
committerAntony Dovgal <tony2001@php.net>2006-01-16 23:03:41 +0000
commitf0a32f012786b7f3ddf44cdfbebaf43eff01df2b (patch)
treeed7ee2c3e8eda44e83c82bf8826bc8053bc5d326
parent38b7befa2e2e007bafc2430fd732ee3d97e80f16 (diff)
downloadphp-git-f0a32f012786b7f3ddf44cdfbebaf43eff01df2b.tar.gz
fix #36038 (ext/hash compile failure on Mac OSX)
-rw-r--r--ext/hash/php_hash.h2
1 files changed, 1 insertions, 1 deletions
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++) {