From 83adfc4bd5b85d0ab8ecbafeaad8324c396dbfac Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 1 Jun 2011 18:41:28 +0000 Subject: [PATCH] Fixed type in initializer --- src/mesh/test_mesh_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesh/test_mesh_api.c b/src/mesh/test_mesh_api.c index 4c4bf9c4c..c2a03d3b5 100644 --- a/src/mesh/test_mesh_api.c +++ b/src/mesh/test_mesh_api.c @@ -69,8 +69,8 @@ test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) struct GNUNET_CONFIGURATION_Handle *cfg = cls; GNUNET_MESH_ApplicationType app; - test_task = 0; - app = 0; + test_task = (GNUNET_SCHEDULER_TaskIdentifier) 0; + app = (GNUNET_MESH_ApplicationType) 0; mesh = GNUNET_MESH_connect(cfg, NULL, NULL, handlers, &app); if(NULL == mesh) { GNUNET_log(GNUNET_ERROR_TYPE_ERROR, "Couldn't connect to mesh :(\n"); -- 2.25.1