fix datatype mismatches

This commit is contained in:
Anatol Belski 2014-10-27 12:03:05 +01:00
parent b0d86d87d8
commit ac964fbe30

View File

@ -84,7 +84,7 @@ ZEND_API int zend_atoi(const char *str, int str_len) /* {{{ */
int retval;
if (!str_len) {
str_len = strlen(str);
str_len = (int)strlen(str);
}
retval = ZEND_STRTOL(str, NULL, 0);
if (str_len>0) {
@ -112,7 +112,7 @@ ZEND_API zend_long zend_atol(const char *str, int str_len) /* {{{ */
zend_long retval;
if (!str_len) {
str_len = strlen(str);
str_len = (int)strlen(str);
}
retval = ZEND_STRTOL(str, NULL, 0);
if (str_len>0) {