From f66e011d34fa511690e5b4863849ac9104f08d9d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 27 Nov 2020 17:58:10 +0100 Subject: Strengthen warning flags --- src/Patchage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Patchage.cpp') 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 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")) -- cgit v1.2.1