summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye2010-11-27 15:32:00 -0700
committerRob Savoye2010-11-27 15:32:00 -0700
commit1163be128e9da5863769b26cc0be1196ee129dfa (patch)
treeae3033a42fe84e7d608f6a4b6c6851af4ef219b4
parent8976b0eee9c73230e6e45eedbaff703c2574dc77 (diff)
downloadgnuradio-1163be128e9da5863769b26cc0be1196ee129dfa.tar.gz
gnuradio-1163be128e9da5863769b26cc0be1196ee129dfa.tar.bz2
gnuradio-1163be128e9da5863769b26cc0be1196ee129dfa.zip
use a char * instead of a std::string to keep C happy
-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;