fix for more warnings.
authorCampbell Barton <ideasman42@gmail.com>
Sat, 12 Feb 2011 16:54:24 +0000 (16:54 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 12 Feb 2011 16:54:24 +0000 (16:54 +0000)
commit55f68c36574779ae2fac3652466584628b22c633
treee2f55301dda8897bf17f8b8459229d8fa5a67816
parent9eee1f962d49f14d92c8da4e677e4ee140f4f440
fix for more warnings.
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array.
- use BLI_snprintf rather then sprintf where the size of the string is known.
- particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later).
21 files changed:
intern/guardedalloc/intern/mallocn.c
source/blender/blenkernel/intern/blender.c
source/blender/blenkernel/intern/deform.c
source/blender/blenkernel/intern/image.c
source/blender/blenkernel/intern/library.c
source/blender/blenkernel/intern/modifier.c
source/blender/blenlib/intern/fileops.c
source/blender/editors/animation/anim_markers.c
source/blender/editors/interface/interface_regions.c
source/blender/editors/space_image/image_draw.c
source/blender/editors/space_info/info_stats.c
source/blender/editors/space_view3d/drawobject.c
source/blender/imbuf/intern/thumbs.c
source/blender/makesrna/intern/rna_access.c
source/blender/modifiers/intern/MOD_util.c
source/blender/python/generic/mathutils_matrix.c
source/blender/render/intern/source/pipeline.c
source/blender/render/intern/source/volume_precache.c
source/blender/windowmanager/intern/wm_files.c
source/blender/windowmanager/intern/wm_window.c
source/creator/creator.c