diff options
author | Chris Burt <desoto@exenex.com> | 2005-07-30 05:44:15 +0400 |
---|---|---|
committer | Chris Burt <desoto@exenex.com> | 2005-07-30 05:44:15 +0400 |
commit | a2eefbd7c706122f9bd1194394b881349384ff95 (patch) | |
tree | 60d64845c78e0c2529bd71f753e2d664a10566fd | |
parent | 7de4b17263dbac431ccfb6fb575845c5863c0d7f (diff) |
Fixed some warning shenanigans
-rw-r--r-- | source/blender/src/editmesh_tools.c | 8 | ||||
-rwxr-xr-x | source/blender/src/transform_constraints.c | 2 |
2 files changed, 5 insertions, 5 deletions
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 +} |