projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add -Wpointer-arith -Wcast-qual -Wcast-align and others to compile flags, and fix...
[ardour.git]
/
libs
/
gtkmm2ext
/
gtkmm2ext
/
gtk_ui.h
diff --git
a/libs/gtkmm2ext/gtkmm2ext/gtk_ui.h
b/libs/gtkmm2ext/gtkmm2ext/gtk_ui.h
index 40137bbbb7a719effd331bf67aca400e086c1b0c..64176232f05f4a2f36d2cba695fb64217a9e202d 100644
(file)
--- a/
libs/gtkmm2ext/gtkmm2ext/gtk_ui.h
+++ b/
libs/gtkmm2ext/gtkmm2ext/gtk_ui.h
@@
-83,7
+83,7
@@
struct UIRequest : public BaseUI::BaseRequestObject {
~UIRequest () {
if (type == ErrorMessage && msg) {
/* msg was strdup()'ed */
- free (
(char *)msg
);
+ free (
const_cast<char *>(msg)
);
}
}
};