guix-env: some update.
[oweals/gnunet.git] / src / testbed / testbed_api_topology.c
index 544f127a91b6c365aa5890d090e4897410f1259e..7bc36d1b4798a29c6b0e5170b1334f86542c8d82 100644 (file)
@@ -1493,7 +1493,7 @@ GNUNET_TESTBED_topology_get_ (enum GNUNET_TESTBED_TopologyOption *topology,
     {
       if (NULL != topology)
         *topology = (enum GNUNET_TESTBED_TopologyOption) cnt;
-      GNUNET_assert (GNUNET_TESTBED_TOPOLOGY_OPTION_END != *topology);
+      GNUNET_assert (GNUNET_TESTBED_TOPOLOGY_OPTION_END != (enum GNUNET_TESTBED_TopologyOption) cnt);
       return GNUNET_YES;
     }
   }