diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-18 09:26:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-18 09:27:08 +0300 |
commit | 3dfce097e49b8dd443ecd364ff57d5fadc4a2c8c (patch) | |
tree | 8a14e5f8a5628a0bd7ed5af0015c36ea1a7603e1 /source/blender/imbuf/intern/writeimage.c | |
parent | 924f31e54f59e13007b75f9388ef4bd089f847b2 (diff) |
Cleanup: use const for Imbuf file types
Diffstat (limited to 'source/blender/imbuf/intern/writeimage.c')
-rw-r--r-- | source/blender/imbuf/intern/writeimage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/writeimage.c b/source/blender/imbuf/intern/writeimage.c index 5e9ccf4437e..2f688803804 100644 --- a/source/blender/imbuf/intern/writeimage.c +++ b/source/blender/imbuf/intern/writeimage.c @@ -41,14 +41,14 @@ #include "IMB_colormanagement.h" #include "IMB_colormanagement_intern.h" -static ImBuf *prepare_write_imbuf(ImFileType *type, ImBuf *ibuf) +static ImBuf *prepare_write_imbuf(const ImFileType *type, ImBuf *ibuf) { return IMB_prepare_write_ImBuf((type->flag & IM_FTYPE_FLOAT), ibuf); } short IMB_saveiff(struct ImBuf *ibuf, const char *name, int flags) { - ImFileType *type; + const ImFileType *type; if (ibuf == NULL) return (false); ibuf->flags = flags; |