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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-08-15 20:36:25 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-08-15 20:36:25 +0400
commit314b14301fd565b93bbb75697c29b109eacf813d (patch)
treef3e759c2040a58928975ca379f4eada8f171a915 /source/blender/editors/armature
parentde330b0d5c341a86ad3413c420edd2702288d1e0 (diff)
2.5: warning fixes
Directories intern/ and source/blender/ now compile warning free again here with scons/gcc.
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/editarmature_sketch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/editarmature_sketch.c b/source/blender/editors/armature/editarmature_sketch.c
index ce3bcc8aed5..79d3d7b1366 100644
--- a/source/blender/editors/armature/editarmature_sketch.c
+++ b/source/blender/editors/armature/editarmature_sketch.c
@@ -2320,7 +2320,7 @@ void sk_drawSketch(Scene *scene, View3D *v3d, SK_Sketch *sketch, int with_names)
for (p = sketch->depth_peels.first; p; p = p->next)
{
- int index = (int)(p->ob);
+ int index = GET_INT_FROM_POINTER(p->ob);
index = (index >> 5) & 7;
glColor3fv(colors[index]);