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:
authorKen Hughes <khughes@pacific.edu>2007-03-19 08:40:42 +0300
committerKen Hughes <khughes@pacific.edu>2007-03-19 08:40:42 +0300
commit819fc06a80269012dcf920b5dc2f79bf4b417149 (patch)
tree5404bb56ddc3b7ec81dd1f36833b1dad8434684a /source/blender/src/writeimage.c
parent4f5065ac98bc135c20dfc04cf596d6dd19cb214e (diff)
Fixing a few more gcc warnings by adding pointer casts.
Diffstat (limited to 'source/blender/src/writeimage.c')
-rw-r--r--source/blender/src/writeimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/writeimage.c b/source/blender/src/writeimage.c
index 3ef29169b54..ca3a312f98b 100644
--- a/source/blender/src/writeimage.c
+++ b/source/blender/src/writeimage.c
@@ -124,7 +124,7 @@ static void save_rendered_image_cb_real(char *name, int confirm)
waitcursor(1); /* from screen.c */
ibuf= IMB_allocImBuf(rres.rectx, rres.recty, G.scene->r.planes, 0, 0);
- ibuf->rect= rres.rect32;
+ ibuf->rect= (unsigned int *)rres.rect32;
ibuf->rect_float= rres.rectf;
ibuf->zbuf_float= rres.rectz;