mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-16 20:51:46 +08:00
warning fix
This commit is contained in:
parent
6681e6aad7
commit
f3371a3b84
@ -850,7 +850,7 @@ void NotificationManager::HintNotification::retrieve_data(int recursion_counter)
|
|||||||
{
|
{
|
||||||
// Content for different user - retrieve another
|
// Content for different user - retrieve another
|
||||||
size_t count = HintDatabase::get_instance().get_count();
|
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.";
|
BOOST_LOG_TRIVIAL(error) << "Hint notification failed to load data due to recursion counter.";
|
||||||
} else {
|
} else {
|
||||||
retrieve_data(recursion_counter + 1);
|
retrieve_data(recursion_counter + 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user