--- embedaddon/php/ext/standard/crypt_sha256.c 2012/02/21 23:48:02 1.1 +++ embedaddon/php/ext/standard/crypt_sha256.c 2012/05/29 12:34:43 1.1.1.2 @@ -471,7 +471,7 @@ char * php_sha256_crypt_r(const char *key, const char sha256_init_ctx(&alt_ctx); /* For every character in the password add the entire password. */ - for (cnt = 0; cnt < 16 + alt_result[0]; ++cnt) { + for (cnt = 0; cnt < (size_t) (16 + alt_result[0]); ++cnt) { sha256_process_bytes(salt, salt_len, &alt_ctx); }