From 3d9624e126366fe924f1374206e29c88a75c9361 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 5 Jan 2019 15:51:17 +0100 Subject: [PATCH] Fix a warning about comparing signed/unsigned variables This can be seen here: https://travis-ci.org/nbs-system/snuffleupagus/jobs/473895085#L685 --- 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 08279f27ad..5e18665c75 100644 --- a/ext/hash/php_hash.h +++ b/ext/hash/php_hash.h @@ -150,7 +150,7 @@ PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_c static inline void php_hash_bin2hex(char *out, const unsigned char *in, size_t in_len) { static const char hexits[17] = "0123456789abcdef"; - int i; + size_t i; for(i = 0; i < in_len; i++) { out[i * 2] = hexits[in[i] >> 4]; -- 2.50.1