@@ -604,7 +604,7 @@ static int s_compute_request_response_storage_properties(
604604
605605 // Step 3 - Go through all the subscription topic filters, response paths, and options fields and add up
606606 // the lengths of all the string and binary data fields.
607- for (size_t i = 0 ; i < subscription_filter_count ; ++ i ) {
607+ for (uint32_t i = 0 ; i < subscription_filter_count ; ++ i ) {
608608 napi_value array_element ;
609609 AWS_NAPI_CALL (env , napi_get_element (env , node_subscription_topic_filters , i , & array_element ), {
610610 AWS_LOGF_ERROR (
@@ -626,7 +626,7 @@ static int s_compute_request_response_storage_properties(
626626 storage_properties -> bytes_needed += filter_length ;
627627 }
628628
629- for (size_t i = 0 ; i < response_path_count ; ++ i ) {
629+ for (uint32_t i = 0 ; i < response_path_count ; ++ i ) {
630630 napi_value array_element ;
631631 AWS_NAPI_CALL (env , napi_get_element (env , node_response_paths , i , & array_element ), {
632632 AWS_LOGF_ERROR (
@@ -813,7 +813,7 @@ static int s_initialize_request_storage_from_napi_options(
813813 return aws_raise_error (AWS_ERROR_INVALID_ARGUMENT );
814814 }
815815
816- for (size_t i = 0 ; i < storage_properties .subscription_topic_filter_count ; ++ i ) {
816+ for (uint32_t i = 0 ; i < storage_properties .subscription_topic_filter_count ; ++ i ) {
817817 napi_value array_element ;
818818 AWS_NAPI_CALL (env , napi_get_element (env , node_subscription_topic_filters , i , & array_element ), {
819819 AWS_LOGF_ERROR (
@@ -849,7 +849,7 @@ static int s_initialize_request_storage_from_napi_options(
849849 return aws_raise_error (AWS_ERROR_INVALID_ARGUMENT );
850850 }
851851
852- for (size_t i = 0 ; i < storage_properties .response_path_count ; ++ i ) {
852+ for (uint32_t i = 0 ; i < storage_properties .response_path_count ; ++ i ) {
853853 napi_value response_path_element ;
854854 AWS_NAPI_CALL (env , napi_get_element (env , node_response_paths , i , & response_path_element ), {
855855 AWS_LOGF_ERROR (
0 commit comments