From: Bart Polot Date: Wed, 1 Jun 2011 18:41:28 +0000 (+0000) Subject: Fixed type in initializer X-Git-Tag: initial-import-from-subversion-38251~18351 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=83adfc4bd5b85d0ab8ecbafeaad8324c396dbfac;p=oweals%2Fgnunet.git Fixed type in initializer --- 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");