diff options
author | Vojtech Kral <vojtech@kral.hk> | 2019-09-06 15:48:31 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2019-09-06 17:33:00 +0300 |
commit | d096804a24329a4aaf9afbb1f52bbad3fe1412da (patch) | |
tree | e6e7d452def16bd36d95db9451de1183cf30b5f3 /src/slic3r/GUI/PrintHostDialogs.cpp | |
parent | a985a2720f49b6f9bdd08b8f451c002a26903eb3 (diff) |
Fix a few warnings in PrintHostDialogs, UploadDialogs
Diffstat (limited to 'src/slic3r/GUI/PrintHostDialogs.cpp')
-rw-r--r-- | src/slic3r/GUI/PrintHostDialogs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/slic3r/GUI/PrintHostDialogs.cpp b/src/slic3r/GUI/PrintHostDialogs.cpp index 09bd65682..d08389537 100644 --- a/src/slic3r/GUI/PrintHostDialogs.cpp +++ b/src/slic3r/GUI/PrintHostDialogs.cpp @@ -250,7 +250,7 @@ void PrintHostQueueDialog::on_list_select() void PrintHostQueueDialog::on_progress(Event &evt) { - wxCHECK_RET(evt.job_id < job_list->GetItemCount(), "Out of bounds access to job list"); + wxCHECK_RET(evt.job_id < (size_t)job_list->GetItemCount(), "Out of bounds access to job list"); if (evt.progress < 100) { set_state(evt.job_id, ST_PROGRESS); @@ -265,7 +265,7 @@ void PrintHostQueueDialog::on_progress(Event &evt) void PrintHostQueueDialog::on_error(Event &evt) { - wxCHECK_RET(evt.job_id < job_list->GetItemCount(), "Out of bounds access to job list"); + wxCHECK_RET(evt.job_id < (size_t)job_list->GetItemCount(), "Out of bounds access to job list"); set_state(evt.job_id, ST_ERROR); @@ -280,7 +280,7 @@ void PrintHostQueueDialog::on_error(Event &evt) void PrintHostQueueDialog::on_cancel(Event &evt) { - wxCHECK_RET(evt.job_id < job_list->GetItemCount(), "Out of bounds access to job list"); + wxCHECK_RET(evt.job_id < (size_t)job_list->GetItemCount(), "Out of bounds access to job list"); set_state(evt.job_id, ST_CANCELLED); job_list->SetValue(wxVariant(0), evt.job_id, COL_PROGRESS); |