com php-src: fix datatype warnings: ext/standard/crypt.c
| From: | Anatol Belski | Date: | Wed, 22 Oct 2014 15:56:28 +0000 |
| Subject: | com php-src: fix datatype warnings: ext/standard/crypt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82433@lists.php.net to get a copy of this message | ||
Commit: f58edcd9966a28073b514004362ab0219699a460
Author: Anatol Belski <ab@php.net> Wed, 22 Oct 2014 16:15:55 +0200
Parents: 09a01a834e993969a2023d6f60e76c190b318c6f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f58edcd9966a28073b514004362ab0219699a460
Log:
fix datatype warnings
Changed paths:
M ext/standard/crypt.c
Diff:
diff --git a/ext/standard/crypt.c b/ext/standard/crypt.c
index 9599e2f..7fae04f 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 {