Browse Source

fix #36038 (ext/hash compile failure on Mac OSX)

migration/RELEASE_1_0_0
Antony Dovgal 21 years ago
parent
commit
f0a32f0127
  1. 2
      ext/hash/php_hash.h

2
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++) {

Loading…
Cancel
Save