Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-01-06 10:21:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-06 11:09:56 +0300
commit77c926933bf52a49088f6ab73304c9d876b1554d (patch)
treedb94dbca00a55666b6de1a5d36e37dde80f9eab8 /source/blender/editors/space_file/filelist.c
parent1829c049be5e127230dac37a09584090f5ecdc7c (diff)
cleanup: warnings
Diffstat (limited to 'source/blender/editors/space_file/filelist.c')
-rw-r--r--source/blender/editors/space_file/filelist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c
index f35a20778c2..d5e29d7905a 100644
--- a/source/blender/editors/space_file/filelist.c
+++ b/source/blender/editors/space_file/filelist.c
@@ -648,7 +648,7 @@ void filelist_imgsize(struct FileList *filelist, short w, short h)
filelist->prv_h = h;
}
-ImBuf *filelist_getimage(struct FileList *filelist, int index)
+ImBuf *filelist_getimage(struct FileList *filelist, const int index)
{
ImBuf *ibuf = NULL;
int fidx = 0;
@@ -664,7 +664,7 @@ ImBuf *filelist_getimage(struct FileList *filelist, int index)
return ibuf;
}
-ImBuf *filelist_geticon(struct FileList *filelist, int index)
+ImBuf *filelist_geticon(struct FileList *filelist, const int index)
{
ImBuf *ibuf = NULL;
struct direntry *file = NULL;