summaryrefslogtreecommitdiffstats
path: root/src/libs/gui/LoadSubpatchWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/gui/LoadSubpatchWindow.cpp')
-rw-r--r--src/libs/gui/LoadSubpatchWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/gui/LoadSubpatchWindow.cpp b/src/libs/gui/LoadSubpatchWindow.cpp
index f637409e..cd3745dd 100644
--- a/src/libs/gui/LoadSubpatchWindow.cpp
+++ b/src/libs/gui/LoadSubpatchWindow.cpp
@@ -91,7 +91,7 @@ LoadSubpatchWindow::set_patch(SharedPtr<PatchModel> patch)
_patch = patch;
char temp_buf[4];
- snprintf(temp_buf, 4, "%zd", patch->poly());
+ snprintf(temp_buf, 4, "%u", patch->poly());
Glib::ustring txt = "Same as parent (";
txt.append(temp_buf).append(")");
_poly_from_parent_radio->set_label(txt);