From 305d0e79e219b427c6425dab0715ed2132d928b8 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 19 Feb 2018 14:16:24 -0800 Subject: examples: Fix some minor compiler warnings All warnings reported by MSVC. Mostly related to narrowing conversions. --- host/examples/test_messages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/examples/test_messages.cpp') diff --git a/host/examples/test_messages.cpp b/host/examples/test_messages.cpp index 5276dfd46..0f7c289d2 100644 --- a/host/examples/test_messages.cpp +++ b/host/examples/test_messages.cpp @@ -345,7 +345,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ std::cout << boost::format( "%s -> %3u successes, %3u failures" ) % key % successes[key] % failures[key] << std::endl; - any_failure = any_failure or bool(failures[key]); + any_failure = any_failure or (failures[key] > 0); } //finished -- cgit v1.2.3