Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2019-09-06 15:48:31 +0300
committerVojtech Kral <vojtech@kral.hk>2019-09-06 17:33:00 +0300
commitd096804a24329a4aaf9afbb1f52bbad3fe1412da (patch)
treee6e7d452def16bd36d95db9451de1183cf30b5f3 /src/slic3r/GUI/PrintHostDialogs.cpp
parenta985a2720f49b6f9bdd08b8f451c002a26903eb3 (diff)
Fix a few warnings in PrintHostDialogs, UploadDialogs
Diffstat (limited to 'src/slic3r/GUI/PrintHostDialogs.cpp')
-rw-r--r--src/slic3r/GUI/PrintHostDialogs.cpp6
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);