From 729512e334d8784cc30d50c8903a102eba02e578 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 20 Dec 2016 14:35:53 +0100 Subject: [PATCH 1/1] Fix windows build netcards_dict is not visible enough for windows anymore, so don't use it. --- teshsuite/simdag/is-router/is-router.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teshsuite/simdag/is-router/is-router.cpp b/teshsuite/simdag/is-router/is-router.cpp index 40ed77b31e..5ac0df5743 100644 --- a/teshsuite/simdag/is-router/is-router.cpp +++ b/teshsuite/simdag/is-router/is-router.cpp @@ -30,7 +30,7 @@ int main(int argc, char **argv) } xbt_dynar_free(&hosts); - std::printf("NetCards count: %d\n", xbt_dict_length(netcards_dict)); + std::printf("NetCards count: %zu\n", netcardList.size()); for (auto nc : netcardList) std::printf(" - Seen: \"%s\". Type: %s\n", nc->cname(), nc->isRouter() ? "router" : (nc->isNetZone() ? "netzone" : (nc->isHost() ? "host" : "buggy"))); -- 2.20.1