diff options
| author | jvoisin <julien.voisin@dustri.org> | 2019-01-05 15:51:17 +0100 |
|---|---|---|
| committer | Peter Kokot <peterkokot@gmail.com> | 2019-01-06 01:54:48 +0100 |
| commit | 3d9624e126366fe924f1374206e29c88a75c9361 (patch) | |
| tree | 4d64cce14e95e37ae889fb7ee8fbeea38424ae56 | |
| parent | 3c9af3095c1e076229a8d8fa933d27bb72daa79d (diff) | |
| download | php-git-3d9624e126366fe924f1374206e29c88a75c9361.tar.gz | |
Fix a warning about comparing signed/unsigned variables
This can be seen here: https://travis-ci.org/nbs-system/snuffleupagus/jobs/473895085#L685
| -rw-r--r-- | ext/hash/php_hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |
