From f3371a3b84db8dffe6a9eb05c361ed2afeb9ffd9 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Thu, 12 Aug 2021 08:49:38 +0200 Subject: [PATCH] warning fix --- src/slic3r/GUI/HintNotification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/HintNotification.cpp b/src/slic3r/GUI/HintNotification.cpp index 85d4629e6..0e4d1a5a3 100644 --- a/src/slic3r/GUI/HintNotification.cpp +++ b/src/slic3r/GUI/HintNotification.cpp @@ -850,7 +850,7 @@ void NotificationManager::HintNotification::retrieve_data(int recursion_counter) { // Content for different user - retrieve another size_t count = HintDatabase::get_instance().get_count(); - if (count < recursion_counter) { + if ((int)count < recursion_counter) { BOOST_LOG_TRIVIAL(error) << "Hint notification failed to load data due to recursion counter."; } else { retrieve_data(recursion_counter + 1);