summaryrefslogtreecommitdiffstats
path: root/src/gui/seqmanager/SegmentMmapper.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-26 17:42:48 -0600
committerTimothy Pearson <[email protected]>2011-11-26 17:42:48 -0600
commit4b3c5dd929ea78ca3b6f656a63d70b10d2f43885 (patch)
tree995c0d3e35794c1bb1029d6b7eacdd80827807bd /src/gui/seqmanager/SegmentMmapper.cpp
parent1461610fb35bb0fcee490f274ea84b8ebfeb1566 (diff)
downloadrosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.tar.gz
rosegarden-4b3c5dd929ea78ca3b6f656a63d70b10d2f43885.zip
Fix FTBFS
Diffstat (limited to 'src/gui/seqmanager/SegmentMmapper.cpp')
-rw-r--r--src/gui/seqmanager/SegmentMmapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/seqmanager/SegmentMmapper.cpp b/src/gui/seqmanager/SegmentMmapper.cpp
index 23f4c6b..9cb8ef0 100644
--- a/src/gui/seqmanager/SegmentMmapper.cpp
+++ b/src/gui/seqmanager/SegmentMmapper.cpp
@@ -186,13 +186,13 @@ void SegmentMmapper::setFileSize(size_t size)
//
if (::lseek(m_fd, size - 1, SEEK_SET) == -1) {
std::cerr << "WARNING: SegmentMmapper : Couldn't lseek in "
- << m_fileName << " to " << size << std::endl;
+ << m_fileName.ascii() << " to " << size << std::endl;
throw Exception("lseek failed");
}
if (::write(m_fd, "\0", 1) != 1) {
std::cerr << "WARNING: SegmentMmapper : Couldn't write byte in "
- << m_fileName << std::endl;
+ << m_fileName.ascii() << std::endl;
throw Exception("write failed");
}