projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9a9f427
)
remove compilation warning
author
Julien de Kozak
<jdekozak@hotmail.com>
Sun, 23 Jun 2013 11:37:50 +0000
(13:37 +0200)
committer
Julien de Kozak
<jdekozak@hotmail.com>
Sun, 23 Jun 2013 11:37:50 +0000
(13:37 +0200)
gtk2_ardour/editor.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor.cc
b/gtk2_ardour/editor.cc
index 761404ba18af84409cfae1c2e7940ed878f4f160..d3e3ae98281d455920778d8c219607ecd1f66f06 100644
(file)
--- a/
gtk2_ardour/editor.cc
+++ b/
gtk2_ardour/editor.cc
@@
-3125,12
+3125,12
@@
Editor::convert_drop_to_paths (
*/
string txt = data.get_text();
- c
onst c
har* p;
+ char* p;
const char* q;
- p = (c
onst c
har *) malloc (txt.length() + 1);
- txt.copy (
const_cast<char *> (p)
, txt.length(), 0);
-
const_cast<char*>(p)
[txt.length()] = '\0';
+ p = (char *) malloc (txt.length() + 1);
+ txt.copy (
p
, txt.length(), 0);
+
p
[txt.length()] = '\0';
while (p)
{