Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Burt <desoto@exenex.com>2005-07-30 05:44:15 +0400
committerChris Burt <desoto@exenex.com>2005-07-30 05:44:15 +0400
commita2eefbd7c706122f9bd1194394b881349384ff95 (patch)
tree60d64845c78e0c2529bd71f753e2d664a10566fd /source/blender/src
parent7de4b17263dbac431ccfb6fb575845c5863c0d7f (diff)
Fixed some warning shenanigans
Diffstat (limited to 'source/blender/src')
-rw-r--r--source/blender/src/editmesh_tools.c8
-rwxr-xr-xsource/blender/src/transform_constraints.c2
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
+}