diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-08-15 20:36:25 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-08-15 20:36:25 +0400 |
commit | 314b14301fd565b93bbb75697c29b109eacf813d (patch) | |
tree | f3e759c2040a58928975ca379f4eada8f171a915 /source/blender/editors/armature/editarmature_sketch.c | |
parent | de330b0d5c341a86ad3413c420edd2702288d1e0 (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/editarmature_sketch.c')
-rw-r--r-- | source/blender/editors/armature/editarmature_sketch.c | 2 |
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]); |