summaryrefslogtreecommitdiffstats
path: root/src/sequencer/SequencerMmapper.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-26 18:01:18 -0600
committerTimothy Pearson <[email protected]>2011-11-26 18:01:18 -0600
commit50fa73a8cae405b8601972cd3568bda61cf6f736 (patch)
treeb34adf3a040f798131adffa63d8dd84700fd1f61 /src/sequencer/SequencerMmapper.cpp
parent6f6e37706e234f1a63c3e419dd1541cb04bc0778 (diff)
downloadrosegarden-50fa73a8cae405b8601972cd3568bda61cf6f736.tar.gz
rosegarden-50fa73a8cae405b8601972cd3568bda61cf6f736.zip
Fix FTBFS
Diffstat (limited to 'src/sequencer/SequencerMmapper.cpp')
-rw-r--r--src/sequencer/SequencerMmapper.cpp4
1 files changed, 2 insertions, 2 deletions
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");
}
}