Fixed all gcc 4 warnings in blenkernel. Found 2 potentially harmful
[blender.git] / source / blender / blenkernel / intern / cdderivedmesh.c
index 2429da66c151849e016d37754c8e2aec39762ab9..1ec318ae455e991cd76d0c1d3d8e298008a4e6d8 100644 (file)
@@ -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;
        }