Use the same type to compare values 32/286132/1
authorcheoleun moon <chleun.moon@samsung.com>
Wed, 28 Dec 2022 10:20:08 +0000 (19:20 +0900)
committercheoleun moon <chleun.moon@samsung.com>
Wed, 28 Dec 2022 10:26:14 +0000 (19:26 +0900)
Change-Id: I98c2c1bb5ee85fe15de100340c19a00530d7f3cd
Signed-off-by: cheoleun moon <chleun.moon@samsung.com>
provider-interface/download-provider-interface.c

index 8179610..a421ad8 100755 (executable)
@@ -1685,7 +1685,7 @@ int dp_interface_get_http_header_field_list(const int id, char ***fields,
                                                        *fields = recv_strings;
                                                }
                                                if (errorcode != DP_ERROR_NONE) { // if error, free all allocated memories
-                                                       int j = 0;
+                                                       size_t j = 0;
                                                        for (; j < i; j++)
                                                                free(recv_strings[j]);
                                                        free(recv_strings);