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:
Diffstat (limited to 'source/blender/imbuf/intern/amiga.c')
-rw-r--r--source/blender/imbuf/intern/amiga.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/imbuf/intern/amiga.c b/source/blender/imbuf/intern/amiga.c
index 613b6ab04f1..6feb1e29166 100644
--- a/source/blender/imbuf/intern/amiga.c
+++ b/source/blender/imbuf/intern/amiga.c
@@ -455,10 +455,7 @@ struct ImBuf *imb_loadamiga(int *iffmem,int flags)
ibuf->mincol = 0;
ibuf->maxcol = cmaplen;
imb_addcmapImBuf(ibuf);
- /* this functions needs a 3rd arg: the number of
- * columns.... why did this work before? */
-/* imb_makecolarray(ibuf, cmap); */
- imb_makecolarray(ibuf, cmap, 0);
+ imb_makecolarray(ibuf, (uchar *)cmap, 0);
}
if (flags & IB_test){