From 2f5957984835ffc7d4f03bb0094a93c575e3eb17 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Wed, 16 Mar 2016 15:47:37 +0100 Subject: Add warning detection and improve MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id4fc86b86d55aac578d84b4d2357c1a2e600c58b Signed-off-by: José Bollo --- plugins/samples/ClientCtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/samples/ClientCtx.c') diff --git a/plugins/samples/ClientCtx.c b/plugins/samples/ClientCtx.c index b4ac0e13..b2479f50 100644 --- a/plugins/samples/ClientCtx.c +++ b/plugins/samples/ClientCtx.c @@ -110,7 +110,7 @@ STATIC json_object* myClose (AFB_request *request) { } STATIC void freeCtxCB (MyClientContextT *ctx, MyPluginHandleT *handle, char *uuid) { - fprintf (stderr, "FreeCtxCB uuid=[%s] Plugin=[%s] count=[%d]", uuid, handle->anythingYouWant, ctx->count); + fprintf (stderr, "FreeCtxCB uuid=[%s] Plugin=[%s] count=[%d]", uuid, (char*)handle->anythingYouWant, ctx->count); free (ctx); // Note: handle should be free it is a static resource attached to plugin and not to session -- cgit 1.2.3-korg