summaryrefslogtreecommitdiffstats
path: root/src/sequencer
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-26 18:01:18 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-26 18:01:18 -0600
commit50fa73a8cae405b8601972cd3568bda61cf6f736 (patch)
treeb34adf3a040f798131adffa63d8dd84700fd1f61 /src/sequencer
parent6f6e37706e234f1a63c3e419dd1541cb04bc0778 (diff)
downloadrosegarden-50fa73a8cae405b8601972cd3568bda61cf6f736.tar.gz
rosegarden-50fa73a8cae405b8601972cd3568bda61cf6f736.zip
Fix FTBFS
Diffstat (limited to 'src/sequencer')
-rw-r--r--src/sequencer/RosegardenSequencerApp.cpp2
-rw-r--r--src/sequencer/SequencerMmapper.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/sequencer/RosegardenSequencerApp.cpp b/src/sequencer/RosegardenSequencerApp.cpp
index 6e20e69..9e9b301 100644
--- a/src/sequencer/RosegardenSequencerApp.cpp
+++ b/src/sequencer/RosegardenSequencerApp.cpp
@@ -1104,7 +1104,7 @@ RosegardenSequencerApp::getSoundDrivertqStatus(const TQString &guiVersion)
drivertqStatus |= VERSION_OK;
else {
std::cerr << "WARNING: RosegardenSequencerApp::getSoundDriverStatus: "
- << "GUI version \"" << guiVersion
+ << "GUI version \"" << guiVersion.ascii()
<< "\" does not match sequencer version \"" << VERSION
<< "\"" << std::endl;
}
diff --git a/src/sequencer/SequencerMmapper.cpp b/src/sequencer/SequencerMmapper.cpp
index bc34642..f3808a1 100644
--- a/src/sequencer/SequencerMmapper.cpp
+++ b/src/sequencer/SequencerMmapper.cpp
@@ -123,14 +123,14 @@ SequencerMmapper::setFileSize(size_t size)
// (seek() to wanted size, then write a byte)
//
if (::lseek(m_fd, size - 1, SEEK_SET) == -1) {
- std::cerr << "WARNING: SequencerMmapper : Couldn't lseek in " << m_fileName
+ std::cerr << "WARNING: SequencerMmapper : Couldn't lseek in " << m_fileName.ascii()
<< " to " << size << std::endl;
throw Exception("lseek failed");
}
if (::write(m_fd, "\0", 1) != 1) {
std::cerr << "WARNING: SequencerMmapper : Couldn't write byte in "
- << m_fileName << std::endl;
+ << m_fileName.ascii() << std::endl;
throw Exception("write failed");
}
}