Fix various potential bugs from coverity reports (NULL dereference, negative number...
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 25 Jan 2016 15:55:08 +0000 (16:55 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 25 Jan 2016 15:55:08 +0000 (16:55 +0100)
commit60663c8ec42f1cf0f527a42ea3c6ebbd9b4d3153
treed6e7109c5d96b09ea848df2151ab13b65414a3d1
parent9e56d75470acad4de30cc945f5ea988d0cf647c6
Fix various potential bugs from coverity reports (NULL dereference, negative number assigned to uint...).

Note: the wm_jobs needs proper fix, we cannot have that kind of inconsistencies in some 'public' API!
source/blender/blenkernel/intern/object_deform.c
source/blender/editors/sculpt_paint/paint_cursor.c
source/blender/editors/sculpt_paint/paint_vertex.c
source/blender/windowmanager/intern/wm_jobs.c