[Bf-blender-cvs] [04b6f38] multiview: fix for missing casting from int to uchar * for non float stereo images
Dalai Felinto
noreply at git.blender.org
Fri Aug 8 17:40:22 CEST 2014
Commit: 04b6f38a64eb985f108159579c4f4e59a1b427d0
Author: Dalai Felinto
Date: Fri Aug 8 16:02:36 2014 +0200
Branches: multiview
https://developer.blender.org/rB04b6f38a64eb985f108159579c4f4e59a1b427d0
fix for missing casting from int to uchar * for non float stereo images
===================================================================
M source/blender/imbuf/intern/stereoimbuf.c
===================================================================
diff --git a/source/blender/imbuf/intern/stereoimbuf.c b/source/blender/imbuf/intern/stereoimbuf.c
index 40ebd42..cad8bec 100644
--- a/source/blender/imbuf/intern/stereoimbuf.c
+++ b/source/blender/imbuf/intern/stereoimbuf.c
@@ -84,8 +84,8 @@ static void imb_stereo_anaglyph(enum eStereoAnaglyphType UNUSED(mode), ImBuf *le
}
}
else {
- const uchar *rect_left = left->rect;
- const uchar *rect_right= right->rect;
+ const uchar *rect_left = (uchar *)left->rect;
+ const uchar *rect_right= (uchar *)right->rect;
uchar *rect_to = (uchar *)r_ibuf->rect;
/* always RGBA input */
More information about the Bf-blender-cvs
mailing list