From a2eefbd7c706122f9bd1194394b881349384ff95 Mon Sep 17 00:00:00 2001 From: Chris Burt Date: Sat, 30 Jul 2005 01:44:15 +0000 Subject: Fixed some warning shenanigans --- source/blender/src/editmesh_tools.c | 8 ++++---- source/blender/src/transform_constraints.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/src') diff --git a/source/blender/src/editmesh_tools.c b/source/blender/src/editmesh_tools.c index efcb71eb4a0..43a8b6f9df8 100644 --- a/source/blender/src/editmesh_tools.c +++ b/source/blender/src/editmesh_tools.c @@ -1214,7 +1214,7 @@ static void set_uv_vcol(EditFace *efa, float *co, float *uv, char *col) uv[0] = efa->tf.uv[0][0]; uv[1] = efa->tf.uv[0][1]; - hold = &efa->tf.col[0]; + hold = (char*)&efa->tf.col[0]; col[0]= hold[0]; col[1]= hold[1]; col[2]= hold[2]; @@ -1224,7 +1224,7 @@ static void set_uv_vcol(EditFace *efa, float *co, float *uv, char *col) uv[0] = efa->tf.uv[1][0]; uv[1] = efa->tf.uv[1][1]; - hold = &efa->tf.col[1]; + hold = (char*)&efa->tf.col[1]; col[0]= hold[0]; col[1]= hold[1]; col[2]= hold[2]; @@ -1234,7 +1234,7 @@ static void set_uv_vcol(EditFace *efa, float *co, float *uv, char *col) uv[0] = efa->tf.uv[2][0]; uv[1] = efa->tf.uv[2][1]; - hold = &efa->tf.col[2]; + hold = (char*)&efa->tf.col[2]; col[0]= hold[0]; col[1]= hold[1]; col[2]= hold[2]; @@ -1244,7 +1244,7 @@ static void set_uv_vcol(EditFace *efa, float *co, float *uv, char *col) uv[0] = efa->tf.uv[3][0]; uv[1] = efa->tf.uv[3][1]; - hold = &efa->tf.col[3]; + hold = (char*)&efa->tf.col[3]; col[0]= hold[0]; col[1]= hold[1]; col[2]= hold[2]; diff --git a/source/blender/src/transform_constraints.c b/source/blender/src/transform_constraints.c index fe7b956513c..86e10793f06 100755 --- a/source/blender/src/transform_constraints.c +++ b/source/blender/src/transform_constraints.c @@ -968,4 +968,4 @@ int getConstraintSpaceDimension(TransInfo *t) Based on the assumptions that the axis flags are one after the other and start at 1 */ -} \ No newline at end of file +} -- cgit v1.2.3