From fe4cf1f57aa26458d1c2a9c44a06f9e49fe8d615 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 26 Jun 2018 16:33:29 +0200 Subject: [PATCH] Fix a compiler warning. --- src/meshlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshlink.c b/src/meshlink.c index f6121a1e..1c81ad22 100644 --- a/src/meshlink.c +++ b/src/meshlink.c @@ -1744,7 +1744,7 @@ bool meshlink_set_canonical_address(meshlink_handle_t *mesh, meshlink_node_t *no } bool meshlink_add_address(meshlink_handle_t *mesh, const char *address) { - return meshlink_set_canonical_address(mesh, mesh->self, address, NULL); + return meshlink_set_canonical_address(mesh, (meshlink_node_t *)mesh->self, address, NULL); } bool meshlink_add_external_address(meshlink_handle_t *mesh) { -- 2.39.5