@@ -416,7 +416,7 @@ int oauth_http_build_query(php_so_object *soo, smart_string *s, HashTable *args,
416416 zval * cur_val ;
417417 zend_string * cur_key , * arg_key , * param_value ;
418418 int numargs = 0 , hash_key_type , skip_append = 0 , i , found ;
419- ulong num_index ;
419+ zend_ulong num_index ;
420420 HashPosition pos ;
421421 smart_string keyname ;
422422
@@ -717,7 +717,7 @@ void oauth_add_signature_header(HashTable *request_headers, HashTable *oauth_arg
717717 zval * curval ;
718718 zend_string * param_name , * param_val ;
719719 zend_string * cur_key ;
720- ulong num_key ;
720+ zend_ulong num_key ;
721721 HashPosition pos ;
722722
723723 smart_string_appends (& sheader , "OAuth " );
@@ -806,7 +806,7 @@ static long make_req_streams(php_so_object *soo, const char *url, const smart_st
806806 HashPosition pos ;
807807 zval * cur_val , zheaders ;
808808 zend_string * cur_key ;
809- ulong num_key ;
809+ zend_ulong num_key ;
810810 smart_string sheaders = {0 };
811811 int first = 1 ;
812812
@@ -945,7 +945,7 @@ static long make_req_streams(php_so_object *soo, const char *url, const smart_st
945945#if OAUTH_USE_CURL
946946static size_t soo_read_response (char * ptr , size_t size , size_t nmemb , void * ctx ) /* {{{ */
947947{
948- uint relsize ;
948+ size_t relsize ;
949949 php_so_object * soo = (php_so_object * )ctx ;
950950
951951 relsize = size * nmemb ;
@@ -1044,8 +1044,8 @@ long make_req_curl(php_so_object *soo, const char *url, const smart_string *payl
10441044 double d_code ;
10451045 zval info , * zca_info , * zca_path , * cur_val ;
10461046 char * s_code , * content_type = NULL , * bufz = NULL ;
1047- uint sslcheck ;
1048- ulong num_key ;
1047+ uit32_t sslcheck ;
1048+ zend_ulong num_key ;
10491049 smart_string sheader = {0 };
10501050 zend_string * cur_key ;
10511051 HashPosition pos ;
@@ -1412,7 +1412,7 @@ static long oauth_fetch(php_so_object *soo, const char *url, const char *method,
14121412 HashTable * rargs = NULL , * rheaders = NULL ;
14131413 long http_response_code , auth_type ;
14141414 smart_string surl = {0 }, payload = {0 }, postdata = {0 };
1415- uint is_redirect = FALSE, follow_redirects = 0 , need_to_free_rheaders = 0 ;
1415+ uit32_t is_redirect = FALSE, follow_redirects = 0 , need_to_free_rheaders = 0 ;
14161416
14171417 auth_type = Z_LVAL_P (soo_get_property (soo , OAUTH_ATTR_AUTHMETHOD ));
14181418 if (fetch_flags & OAUTH_OVERRIDE_HTTP_METHOD ) {
0 commit comments