Browse Source

Fix printf string for 64-bit integers on Windows.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
379c99a69f
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/app/RackWidget.cpp

+ 4
- 4
src/app/RackWidget.cpp View File

@@ -187,7 +187,7 @@ void RackWidget::mergeJson(json_t* rootJ) {
// TODO Legacy v0.6?
ModuleWidget* moduleWidget = getModule(id);
if (!moduleWidget) {
WARN("Cannot find ModuleWidget with ID %ld", id);
WARN("Cannot find ModuleWidget with ID %I64d", id);
continue;
}

@@ -212,7 +212,7 @@ void RackWidget::mergeJson(json_t* rootJ) {
int64_t id = json_integer_value(idJ);
CableWidget* cw = getCable(id);
if (!cw) {
WARN("Cannot find CableWidget with ID %ld", id);
WARN("Cannot find CableWidget with ID %I64d", id);
continue;
}

@@ -238,7 +238,7 @@ void RackWidget::fromJson(json_t* rootJ) {
int64_t id = json_integer_value(idJ);
engine::Module* module = APP->engine->getModule(id);
if (!module) {
WARN("Cannot find module with ID %ld", id);
WARN("Cannot find module with ID %I64d", id);
continue;
}

@@ -283,7 +283,7 @@ void RackWidget::fromJson(json_t* rootJ) {
int64_t id = json_integer_value(idJ);
engine::Cable* cable = APP->engine->getCable(id);
if (!cable) {
WARN("Cannot find cable with ID %ld", id);
WARN("Cannot find cable with ID %I64d", id);
continue;
}



Loading…
Cancel
Save