mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fix datatype warnings
This commit is contained in:
parent
09a01a834e
commit
f58edcd996
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ PHP_FUNCTION(crypt)
|
||||||
}
|
}
|
||||||
salt[salt_in_len] = '\0';
|
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') {
|
if (salt[0] == '*' && salt[1] == '0') {
|
||||||
RETURN_STRING("*1");
|
RETURN_STRING("*1");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue