summaryrefslogtreecommitdiffstats
path: root/src/Patchage.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-27 17:58:10 +0100
committerDavid Robillard <d@drobilla.net>2020-11-27 21:42:52 +0100
commitf66e011d34fa511690e5b4863849ac9104f08d9d (patch)
treeb93d5d69e7c97d55002667d81174bbefffee8431 /src/Patchage.cpp
parent7f0aea7a2e20c91843b62de8407e6fabcfb96c6b (diff)
downloadpatchage-f66e011d34fa511690e5b4863849ac9104f08d9d.tar.gz
patchage-f66e011d34fa511690e5b4863849ac9104f08d9d.tar.bz2
patchage-f66e011d34fa511690e5b4863849ac9104f08d9d.zip
Strengthen warning flags
Diffstat (limited to 'src/Patchage.cpp')
-rw-r--r--src/Patchage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp
index aca3a54..b5e9bbf 100644
--- a/src/Patchage.cpp
+++ b/src/Patchage.cpp
@@ -115,7 +115,7 @@ struct ProjectList_column_record : public Gtk::TreeModel::ColumnRecord
Gtk::TreeModelColumn<Glib::ustring> label;
};
-#define INIT_WIDGET(x) x(_xml, ((const char*)#x) + 1)
+#define INIT_WIDGET(x) x(_xml, (#x) + 1)
Patchage::Patchage(int argc, char** argv)
: _xml(UIFile::open("patchage"))