Change type for loop 66/320566/1
authorSukhyungKang <shine.kang@samsung.com>
Tue, 19 Nov 2024 00:17:08 +0000 (09:17 +0900)
committerSukhyungKang <shine.kang@samsung.com>
Tue, 19 Nov 2024 00:17:08 +0000 (09:17 +0900)
Change-Id: I9336e80bbc12bf94c01934bfff565eadaad11f15
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
notification/src/notification_shared_file.c

index bfd4265058be7b85e72c80e5d6ce11e998c1f476..8ebee28517a3026bf99afd4a7cc6c1739f9524bb 100644 (file)
@@ -140,7 +140,7 @@ static char *__get_data_path_by_pkg_id(const char *pkg_id,
        snprintf(rel_file_path, sizeof(rel_file_path), "%s",
                        pkg_path + strlen(pkg_id));
 
-       for (int i = 0; i < strlen(rel_file_path); i++) {
+       for (size_t i = 0; i < strlen(rel_file_path); i++) {
                if (rel_file_path[i] == '/')
                  rel_file_path[i] = '_';
        }