OSDN Git Service

change ulong to zend_ulong.
authorYoshihiro Yamazaki <yoya@awm.jp>
Tue, 22 Dec 2020 12:51:52 +0000 (21:51 +0900)
committerYoshihiro Yamazaki <yoya@awm.jp>
Tue, 22 Dec 2020 12:52:52 +0000 (21:52 +0900)
(macOS build failed.)

src/php5_swfed.c
src/php_swfed.c

index 29827d9..8b4cd10 100644 (file)
@@ -1478,7 +1478,7 @@ PHP_METHOD(swfed, setActionVariables) {
     HashPosition    pos;
     char            *str_key, *str_value;
     uint            str_key_len, str_value_len;
-    ulong tmp;
+    zend_ulong tmp;
     char tmp_str[17];
     int ret;
     y_keyvalue_t *kv;
@@ -1522,7 +1522,7 @@ PHP_METHOD(swfed, replaceActionStrings) {
     HashPosition    pos;
     char            *str_key, *str_value;
     uint            str_key_len, str_value_len;
-    ulong tmp;
+    zend_ulong tmp;
     char tmp_str[17];
     int ret;
     y_keyvalue_t *kv;
index 616499c..38d3955 100644 (file)
@@ -1562,7 +1562,7 @@ PHP_METHOD(swfed, replaceActionStrings) {
     swf_object_t *swf = get_swf_object(getThis());
     zend_string *loop_key = NULL;
     zval *loop_val;
-    ulong loop_num_key;
+    zend_ulong loop_num_key;
 
     if (zend_parse_parameters(ZEND_NUM_ARGS(), "a", &arr) == FAILURE) {
         RETURN_FALSE;