diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-10-27 03:34:44 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-10-27 03:34:44 +0400 |
commit | 5376df2689008cde4a20059d4958d30f04d7c92c (patch) | |
tree | 903f1522d03bc39180869ea87c810e18787effe3 /source/blender/blenkernel/intern/cdderivedmesh.c | |
parent | 47f579f51422b411a6c94db831660081c52a0275 (diff) |
Fixed all gcc 4 warnings in blenkernel. Found 2 potentially harmful
unintialized variables in the verse code, verse_session.c:451 and
verse_object_node.c:339, those are properly initialized now.
Diffstat (limited to 'source/blender/blenkernel/intern/cdderivedmesh.c')
-rw-r--r-- | source/blender/blenkernel/intern/cdderivedmesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/cdderivedmesh.c b/source/blender/blenkernel/intern/cdderivedmesh.c index 2429da66c15..1ec318ae455 100644 --- a/source/blender/blenkernel/intern/cdderivedmesh.c +++ b/source/blender/blenkernel/intern/cdderivedmesh.c @@ -986,7 +986,7 @@ void CDDM_calc_edges(DerivedMesh *dm) med = CustomData_get_layer(&edgeData, LAYERTYPE_MEDGE); for(i = 0; !BLI_edgehashIterator_isDone(ehi); BLI_edgehashIterator_step(ehi), ++i, ++med) { - BLI_edgehashIterator_getKey(ehi, &med->v1, &med->v2); + BLI_edgehashIterator_getKey(ehi, (int*)&med->v1, (int*)&med->v2); med->flag = ME_EDGEDRAW|ME_EDGERENDER; } |