diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-25 01:08:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-25 01:08:29 +0300 |
commit | 72ede30d0f970fe7d6774ce0851e3aacc82e23d8 (patch) | |
tree | 67116106c9b27f1f6b00eff373004691c1e8f086 /source/blender/editors/space_file | |
parent | a38313c3bdf1a250fb7dc93fefd8f89e81965a1e (diff) |
Cleanup: pass const image data to IMB_ibImageFromMemory
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r-- | source/blender/editors/space_file/filelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c index eec30adff10..623442b753a 100644 --- a/source/blender/editors/space_file/filelist.c +++ b/source/blender/editors/space_file/filelist.c @@ -787,7 +787,7 @@ void filelist_init_icons(void) #ifdef WITH_HEADLESS bbuf = NULL; #else - bbuf = IMB_ibImageFromMemory((unsigned char *)datatoc_prvicons_png, datatoc_prvicons_png_size, IB_rect, NULL, "<splash>"); + bbuf = IMB_ibImageFromMemory((const uchar *)datatoc_prvicons_png, datatoc_prvicons_png_size, IB_rect, NULL, "<splash>"); #endif if (bbuf) { for (y = 0; y < SPECIAL_IMG_ROWS; y++) { |