patch [#34103]
[blender.git] / source / blender / editors / render / render_preview.c
index 3bf09cbbac1086eeeb1e7ba75ff2f05e15b9e283..2a87375dc65906145e7013ba82aa0cec9645f5c1 100644 (file)
@@ -110,7 +110,7 @@ ImBuf *get_brush_icon(Brush *brush)
        static const int flags = IB_rect | IB_multilayer | IB_metadata;
 
        char path[FILE_MAX];
-       char *folder;
+       const char *folder;
 
        if (!(brush->icon_imbuf)) {
                if (brush->flag & BRUSH_CUSTOM_ICON) {