From 51a8b5c44d9db055dd370f060832ea47fb5bd835 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Thu, 17 Jan 2019 18:08:51 -0800 Subject: [PATCH] fixed compiler warning --- meshcore/agentcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshcore/agentcore.c b/meshcore/agentcore.c index 33495b8..16cb7f1 100644 --- a/meshcore/agentcore.c +++ b/meshcore/agentcore.c @@ -3240,7 +3240,7 @@ int MeshAgent_AgentMode(MeshAgentHostContainer *agentHost, int paramLen, char ** int dbCapabilities = 0; if (ILibSimpleDataStore_Get(agentHost->masterDb, "AgentCapabilities", NULL, 0) == 4) { - ILibSimpleDataStore_Get(agentHost->masterDb, "AgentCapabilities", &dbCapabilities, 4); + ILibSimpleDataStore_Get(agentHost->masterDb, "AgentCapabilities",(char*) &dbCapabilities, 4); agentHost->capabilities |= dbCapabilities; } }