Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarBuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/StarBuffer.cpp')
-rw-r--r--source/core/StarBuffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/core/StarBuffer.cpp b/source/core/StarBuffer.cpp
index fbed59a..e99615c 100644
--- a/source/core/StarBuffer.cpp
+++ b/source/core/StarBuffer.cpp
@@ -90,7 +90,7 @@ void Buffer::open(IOMode mode) {
}
String Buffer::deviceName() const {
- return strf("Buffer <%s>", this);
+ return strf("Buffer <%s>", (void*)this);
}
StreamOffset Buffer::size() {
@@ -244,7 +244,7 @@ size_t ExternalBuffer::writeAbsolute(StreamOffset, char const*, size_t) {
}
String ExternalBuffer::deviceName() const {
- return strf("ExternalBuffer <%s>", this);
+ return strf("ExternalBuffer <%s>", (void*)this);
}
StreamOffset ExternalBuffer::size() {