com php-src: fixed ext/skeleton: ext/skeleton/php_skeleton. h ext/skeleton/skeleton.c
| From: | Anatol Belski | Date: | Fri, 13 Dec 2013 14:35:37 +0000 |
| Subject: | com php-src: fixed ext/skeleton: ext/skeleton/php_skeleton. h ext/skeleton/skeleton.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74418@lists.php.net to get a copy of this message | ||
Commit: 4651c744056c8460a0fbcc0040ab744c3579290f
Author: Anatol Belski <ab@php.net> Fri, 13 Dec 2013 15:35:37 +0100
Parents: 316fd8aab6dbd54453e3186e474ab3d020199ea2
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4651c744056c8460a0fbcc0040ab744c3579290f
Log:
fixed ext/skeleton
Changed paths:
M ext/skeleton/php_skeleton.h
M ext/skeleton/skeleton.c
Diff:
diff --git a/ext/skeleton/php_skeleton.h b/ext/skeleton/php_skeleton.h
index d0ba6f0..bd0b272 100644
--- a/ext/skeleton/php_skeleton..h
+++ b/ext/skeleton/php_skeleton.h
@@ -25,7 +25,7 @@ extern zend_module_entry extname_module_entry;
and END macros here:
ZEND_BEGIN_MODULE_GLOBALS(extname)
- long global_value;
+ php_int_t global_value;
char *global_string;
ZEND_END_MODULE_GLOBALS(extname)
*/
diff --git a/ext/skeleton/skeleton.c b/ext/skeleton/skeleton.c
index 462e487..92f783e 100644
--- a/ext/skeleton/skeleton.c
+++ b/ext/skeleton/skeleton.c
@@ -36,7 +36,7 @@ PHP_INI_END()
PHP_FUNCTION(confirm_extname_compiled)
{
char *arg = NULL;
- int arg_len, len;
+ zend_str_size_int arg_len, len;
char *strg;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arg, &arg_len) ==
FAILURE) {