From b45c3363fd65a734a87d0917988fda6ae9d9df3c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 3 Dec 2010 01:52:28 +0000 Subject: fix for some pedantic warnings. --- source/blender/editors/armature/editarmature_retarget.c | 2 +- source/blender/editors/armature/poseobject.c | 2 +- source/blender/editors/armature/reeb.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/armature') diff --git a/source/blender/editors/armature/editarmature_retarget.c b/source/blender/editors/armature/editarmature_retarget.c index 4ddc73df469..5ef13bcdc1b 100644 --- a/source/blender/editors/armature/editarmature_retarget.c +++ b/source/blender/editors/armature/editarmature_retarget.c @@ -1415,7 +1415,7 @@ static void RIG_findHead(RigGraph *rg) void RIG_printNode(RigNode *node, char name[]) { - printf("%s %p %i <%0.3f, %0.3f, %0.3f>\n", name, node, node->degree, node->p[0], node->p[1], node->p[2]); + printf("%s %p %i <%0.3f, %0.3f, %0.3f>\n", name, (void *)node, node->degree, node->p[0], node->p[1], node->p[2]); if (node->symmetry_flag & SYM_TOPOLOGICAL) { diff --git a/source/blender/editors/armature/poseobject.c b/source/blender/editors/armature/poseobject.c index 1bfbe869e6b..6b12bafc187 100644 --- a/source/blender/editors/armature/poseobject.c +++ b/source/blender/editors/armature/poseobject.c @@ -72,7 +72,7 @@ /* ************* XXX *************** */ static int pupmenu(const char *UNUSED(dummy)) {return 0;} -static void error(const char *UNUSED(dummy)) {}; +static void error(const char *UNUSED(dummy)) {} static void BIF_undo_push(const char *UNUSED(dummy)) {} /* ************* XXX *************** */ diff --git a/source/blender/editors/armature/reeb.c b/source/blender/editors/armature/reeb.c index 5af1658a83f..d7fe001c8b4 100644 --- a/source/blender/editors/armature/reeb.c +++ b/source/blender/editors/armature/reeb.c @@ -603,7 +603,7 @@ void verifyMultiResolutionLinks(ReebGraph *rg, int level) { if (BLI_findindex(&lower_rg->arcs, arc->link_up) == -1) { - printf("missing arc %p for level %i\n", arc->link_up, level); + printf("missing arc %p for level %i\n", (void *)arc->link_up, level); printf("Source arc was ---\n"); printArc(arc); -- cgit v1.2.3