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>2010-01-11 13:48:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-11 13:48:41 +0300
commita3e461ce1b863b783219c5488182a4aa66b3e9f7 (patch)
tree52ed71cfdebdc4f3b11be7daa641b18572da942d /source/blender/blenkernel/intern/colortools.c
parent49fc1f9860b5fe3ba628f761a00615a24e054a14 (diff)
- player building again
- fix for compiler warnigns - bpath reporting was incorrect
Diffstat (limited to 'source/blender/blenkernel/intern/colortools.c')
-rw-r--r--source/blender/blenkernel/intern/colortools.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/colortools.c b/source/blender/blenkernel/intern/colortools.c
index d8975c16cc8..09c65f4b21d 100644
--- a/source/blender/blenkernel/intern/colortools.c
+++ b/source/blender/blenkernel/intern/colortools.c
@@ -768,7 +768,6 @@ void curvemapping_do_ibuf(CurveMapping *cumap, ImBuf *ibuf)
{
ImBuf *tmpbuf;
int pixel;
- char *tmpcbuf;
float *pix_in;
float col[3];
int stride= 4;
@@ -816,7 +815,7 @@ void curvemapping_do_ibuf(CurveMapping *cumap, ImBuf *ibuf)
}
IMB_rect_from_float(tmpbuf);
- SWAP(char *, tmpbuf->rect, ibuf->rect);
+ SWAP(unsigned int *, tmpbuf->rect, ibuf->rect);
IMB_freeImBuf(tmpbuf);