A bit of refactoring

This commit is contained in:
o9000 2017-12-21 12:06:23 +01:00
parent cab9c3bddd
commit 328a35f949

View file

@ -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)) {