use 'const char *' for imbuf and file ops.
[blender.git] / source / blender / editors / interface / interface_icons.c
index 0ade3e6199fd16e59ccb88358bf5a4432d3bbb5e..e39e594af667f3e572580148b708777287107834 100644 (file)
@@ -682,7 +682,7 @@ static void free_iconfile_list(struct ListBase *list)
        }
 }
 
-int UI_iconfile_get_index(char *filename)
+int UI_iconfile_get_index(const char *filename)
 {
        IconFile *ifile;
        ListBase *list=&(iconfilelist);