Fixed type in initializer
authorBart Polot <bart@net.in.tum.de>
Wed, 1 Jun 2011 18:41:28 +0000 (18:41 +0000)
committerBart Polot <bart@net.in.tum.de>
Wed, 1 Jun 2011 18:41:28 +0000 (18:41 +0000)
src/mesh/test_mesh_api.c

index 4c4bf9c4cd77bc7ba74b123632691e71edec1840..c2a03d3b5fec6fd23612b292eded05ffdf8f45ff 100644 (file)
@@ -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");