From f58edcd9966a28073b514004362ab0219699a460 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 22 Oct 2014 16:15:55 +0200 Subject: [PATCH] fix datatype warnings --- ext/standard/crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/crypt.c b/ext/standard/crypt.c index 9599e2f056..7fae04fcbf 100644 --- a/ext/standard/crypt.c +++ b/ext/standard/crypt.c @@ -295,7 +295,7 @@ PHP_FUNCTION(crypt) } salt[salt_in_len] = '\0'; - if ((result = php_crypt(str, str_len, salt, salt_in_len)) == NULL) { + if ((result = php_crypt(str, (int)str_len, salt, (int)salt_in_len)) == NULL) { if (salt[0] == '*' && salt[1] == '0') { RETURN_STRING("*1"); } else { -- 2.50.1