From 1163be128e9da5863769b26cc0be1196ee129dfa Mon Sep 17 00:00:00 2001
From: Rob Savoye
Date: Sat, 27 Nov 2010 15:32:00 -0700
Subject: use a char * instead of a std::string to keep C happy

---
 gr-run-waveform/test_xyzzy.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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;
-- 
cgit