diff options
author | Kent Mein <mein@cs.umn.edu> | 2006-03-24 19:40:32 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2006-03-24 19:40:32 +0300 |
commit | 97a4e4f88df116997cb49682886e696c5ebd7dd0 (patch) | |
tree | 1463d25966ef8a79f7f763692a5be40856b1596f /source/blender/imbuf | |
parent | 21c9ee54cadd76643bbf9dcaf47e97c2a30a92cb (diff) |
a bunch of small warnings fixes:
newline missing at end of file fixes:
TypedConstraint.h WheelInfo.h RaycastVehicle.h VehicleRaycaster.h
CcdPhysicsEnvironment.cpp
radiance_hdr.c fixed the following warning by changing type of local variable:
radiance_hdr.c:357: warning: pointer targets in passing argument 3 of
‘fwritecol rs’ differ in signedness
edgeRender.c,edgeRender.h same thing changed type of local vars to get rid
of warnings about signedness
RAS_OpenGLRasterizer.cpp removed unused variable unit line 1295
Kent
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/radiance_hdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/radiance_hdr.c b/source/blender/imbuf/intern/radiance_hdr.c index bd2d41881db..75be790a4cc 100644 --- a/source/blender/imbuf/intern/radiance_hdr.c +++ b/source/blender/imbuf/intern/radiance_hdr.c @@ -342,14 +342,14 @@ short imb_savehdr(struct ImBuf *ibuf, char *name, int flags) FILE* file = fopen(name, "wb"); float *fp= NULL; int y, width=ibuf->x, height=ibuf->y; - char *cp= NULL; + unsigned char *cp= NULL; if (file==NULL) return 0; writeHeader(file, width, height); if(ibuf->rect) - cp= (char *)(ibuf->rect + (height-1)*width); + cp= (unsigned char *)(ibuf->rect + (height-1)*width); if(ibuf->rect_float) fp= ibuf->rect_float + 4*(height-1)*width; |