From 3dfce097e49b8dd443ecd364ff57d5fadc4a2c8c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 18 May 2015 16:26:45 +1000 Subject: Cleanup: use const for Imbuf file types --- source/blender/imbuf/intern/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/imbuf/intern/util.c') diff --git a/source/blender/imbuf/intern/util.c b/source/blender/imbuf/intern/util.c index 3fee6688014..77962d43470 100644 --- a/source/blender/imbuf/intern/util.c +++ b/source/blender/imbuf/intern/util.c @@ -186,7 +186,7 @@ int IMB_ispic_type(const char *name) #define HEADER_SIZE 64 unsigned char buf[HEADER_SIZE]; - ImFileType *type; + const ImFileType *type; BLI_stat_t st; int fp; @@ -442,7 +442,7 @@ bool IMB_isanim(const char *filename) bool IMB_isfloat(ImBuf *ibuf) { - ImFileType *type; + const ImFileType *type; for (type = IMB_FILE_TYPES; type < IMB_FILE_TYPES_LAST; type++) { if (type->ftype(type, ibuf)) { -- cgit v1.2.3