From: SukhyungKang Date: Tue, 19 Nov 2024 00:17:08 +0000 (+0900) Subject: Change type for loop X-Git-Tag: accepted/tizen/unified/20241121.162150~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0e9b208cfb26e7e1fc3043f0f583fbd1078aed3;p=platform%2Fcore%2Fapi%2Fnotification.git Change type for loop Change-Id: I9336e80bbc12bf94c01934bfff565eadaad11f15 Signed-off-by: SukhyungKang --- diff --git a/notification/src/notification_shared_file.c b/notification/src/notification_shared_file.c index bfd42650..8ebee285 100644 --- a/notification/src/notification_shared_file.c +++ b/notification/src/notification_shared_file.c @@ -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] = '_'; }