new round of warning fixes. we are now down to 24 with Xcode on blender
authorJean-Luc Peurière <jlp@nerim.net>
Sat, 4 Jun 2005 16:22:50 +0000 (16:22 +0000)
committerJean-Luc Peurière <jlp@nerim.net>
Sat, 4 Jun 2005 16:22:50 +0000 (16:22 +0000)
commitf38e0686d909aa0d2882c197aeff59eeefa17081
tree7f2d4a2a3324fa915427bdec590a9654366ed17e
parent0f82931e5fe89ed245a03a4608e524c2423c0d64
new round of warning fixes. we are now down to 24 with Xcode on blender
alone with the following flags :
-Wall -Wno-char-subscripts -Wno-missing-braces.

the only one still worrying me is in rand.c line 57 :

rand.c:57: integer constant is too large for "long" type

but i have no clue about how correct cross-compiler and 32/64 bits friendly

see also my mail to commiter list for signed/unsigned issues
26 files changed:
extern/qhull/src/geom.c
extern/qhull/src/io.c
extern/qhull/src/stat.c
source/blender/blenkernel/intern/mball.c
source/blender/blenlib/intern/scanfill.c
source/blender/blenlib/intern/storage.c
source/blender/include/BIF_resources.h
source/blender/python/BPY_interface.c
source/blender/python/api2_2x/Font.c
source/blender/python/api2_2x/Text3d.c
source/blender/render/intern/source/envmap.c
source/blender/render/intern/source/initrender.c
source/blender/render/intern/source/pixelshading.c
source/blender/render/intern/source/zblur.c
source/blender/src/buttons_editing.c
source/blender/src/drawtext.c
source/blender/src/drawtime.c
source/blender/src/editsima.c
source/blender/src/edittime.c
source/blender/src/filesel.c
source/blender/src/transform.c
source/blender/src/transform_generics.c
source/gameengine/Ketsji/KX_NearSensor.cpp
source/gameengine/Ketsji/KX_Scene.cpp
source/gameengine/Ketsji/KX_TouchEventManager.cpp
source/gameengine/Ketsji/KX_TouchSensor.cpp