summaryrefslogtreecommitdiff
path: root/gr-run-waveform
diff options
context:
space:
mode:
Diffstat (limited to 'gr-run-waveform')
-rw-r--r--gr-run-waveform/test_xyzzy.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-run-waveform/test_xyzzy.cc b/gr-run-waveform/test_xyzzy.cc
index f68c203ac..2e920207a 100644
--- a/gr-run-waveform/test_xyzzy.cc
+++ b/gr-run-waveform/test_xyzzy.cc
@@ -136,7 +136,8 @@ main(int argc, char *argv[])
// Initialize with the data file produced by gen-xyzzy.
string fullspec = "./filesystem.dat";
- if (xyzzy_init(fullspec)) {
+ char *name = const_cast<char *>(fullspec.c_str());
+ if (xyzzy_init(name)) {
cout << "PASSED: xyzzy_init()" << endl;
} else {
cout << "FAILED: xyzzy_init()" << endl;