From 328a35f949c579492ddaabae1ec352b2668d6334 Mon Sep 17 00:00:00 2001 From: o9000 Date: Thu, 21 Dec 2017 12:06:23 +0100 Subject: [PATCH] A bit of refactoring --- src/launcher/icon-theme-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/launcher/icon-theme-common.c b/src/launcher/icon-theme-common.c index b57c3c7..b8a03f7 100644 --- a/src/launcher/icon-theme-common.c +++ b/src/launcher/icon-theme-common.c @@ -598,7 +598,7 @@ char *get_icon_path_helper(GSList *themes, const char *icon_name, int size) char *next_larger = NULL; GSList *next_larger_theme = NULL; - int file_name_size = 4096; + size_t file_name_size = 4096; char *file_name = calloc(file_name_size, 1); for (theme = themes; theme; theme = g_slist_next(theme)) {