diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:58:10 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:52 +0100 |
commit | f66e011d34fa511690e5b4863849ac9104f08d9d (patch) | |
tree | b93d5d69e7c97d55002667d81174bbefffee8431 /src/Patchage.cpp | |
parent | 7f0aea7a2e20c91843b62de8407e6fabcfb96c6b (diff) | |
download | patchage-f66e011d34fa511690e5b4863849ac9104f08d9d.tar.gz patchage-f66e011d34fa511690e5b4863849ac9104f08d9d.tar.bz2 patchage-f66e011d34fa511690e5b4863849ac9104f08d9d.zip |
Strengthen warning flags
Diffstat (limited to 'src/Patchage.cpp')
-rw-r--r-- | src/Patchage.cpp | 2 |
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")) |