diff options
Diffstat (limited to 'src/libs/gui/NewSubpatchWindow.cpp')
-rw-r--r-- | src/libs/gui/NewSubpatchWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/gui/NewSubpatchWindow.cpp b/src/libs/gui/NewSubpatchWindow.cpp index 8b66b6c2..103e9a54 100644 --- a/src/libs/gui/NewSubpatchWindow.cpp +++ b/src/libs/gui/NewSubpatchWindow.cpp @@ -88,7 +88,7 @@ void NewSubpatchWindow::ok_clicked() { const Path path = _patch->path().base() + Path::nameify(_name_entry->get_text()); - const size_t poly = _poly_spinbutton->get_value_as_int(); + const uint32_t poly = _poly_spinbutton->get_value_as_int(); App::instance().engine()->create_patch(path, poly); for (MetadataMap::const_iterator i = _initial_data.begin(); i != _initial_data.end(); ++i) |