diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-11 13:48:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-11 13:48:41 +0300 |
commit | a3e461ce1b863b783219c5488182a4aa66b3e9f7 (patch) | |
tree | 52ed71cfdebdc4f3b11be7daa641b18572da942d /source/blender/blenkernel/intern/colortools.c | |
parent | 49fc1f9860b5fe3ba628f761a00615a24e054a14 (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.c | 3 |
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); |