com php-src: size_t part for *.l files: Zend/ze nd_ini_scanner.l
| From: | Anatol Belski | Date: | Wed, 18 Dec 2013 22:56:40 +0000 |
| Subject: | com php-src: size_t part for *.l files: Zend/ze nd_ini_scanner.l | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74512@lists.php.net to get a copy of this message | ||
Commit: 8709cc6d600ffaef440b91b27ba1c6ebd4b23c7e
Author: Anatol Belski <ab@php.net> Wed, 18 Dec 2013 14:56:40 -0800
Parents: 0b8f946ea5648da8ac0830fb64d14cf43827eee1
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8709cc6d600ffaef440b91b27ba1c6ebd4b23c7e
Log:
size_t part for *.l files
Changed paths:
M Zend/zend_ini_scanner.l
Diff:
diff --git a/Zend/zend_ini_scanner.l b/Zend/zend_ini_scanner.l
index cb59b5b..ed7d76a 100644
--- a/Zend/zend_ini_scanner.l
+++ b/Zend/zend_ini_scanner.l
@@ -55,7 +55,7 @@
#define yytext ((char*)SCNG(yy_text))
#define yyleng SCNG(yy_leng)
#define yyless(x) do { YYCURSOR = (unsigned char*)yytext + x; \
- yyleng = (zend_str_size)x; } while(0)
+ yyleng = (zend_size_t)x; } while(0)
/* #define yymore() goto yymore_restart */
@@ -261,7 +261,7 @@ int zend_ini_prepare_string_for_scanning(char *str, int scanner_mode TSRMLS_DC)
/* {{{ zend_ini_escape_string()
*/
-static void zend_ini_escape_string(zval *lval, char *str, zend_str_size_int len, char quote_type
TSRMLS_DC)
+static void zend_ini_escape_string(zval *lval, char *str, zend_size_t len, char quote_type
TSRMLS_DC)
{
register char *s, *t;
char *end;