diff options
author | Anatol Belski <ab@php.net> | 2014-10-28 18:43:22 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-10-29 15:29:59 +0100 |
commit | d9d16d2e68c897fe02848e96623aaa73d170fb39 (patch) | |
tree | af33b248365f3723e8b13e7cab3bfc3da5731dad /Zend/zend_ini_scanner.l | |
parent | abfb30dc67dfbfb3d3abaa502faa29ef9d82c459 (diff) | |
download | php-git-d9d16d2e68c897fe02848e96623aaa73d170fb39.tar.gz |
fix datatype mismatch warnings
Diffstat (limited to 'Zend/zend_ini_scanner.l')
-rw-r--r-- | Zend/zend_ini_scanner.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_ini_scanner.l b/Zend/zend_ini_scanner.l index 3bfb1557b1..79d82764b1 100644 --- a/Zend/zend_ini_scanner.l +++ b/Zend/zend_ini_scanner.l @@ -281,7 +281,7 @@ int zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode TSRML return FAILURE; } - yy_scan_buffer(buf, size TSRMLS_CC); + yy_scan_buffer(buf, (unsigned int)size TSRMLS_CC); return SUCCESS; } @@ -291,7 +291,7 @@ int zend_ini_open_file_for_scanning(zend_file_handle *fh, int scanner_mode TSRML */ int zend_ini_prepare_string_for_scanning(char *str, int scanner_mode TSRMLS_DC) { - int len = strlen(str); + int len = (int)strlen(str); if (init_ini_scanner(scanner_mode, NULL TSRMLS_CC) == FAILURE) { return FAILURE; |