summaryrefslogtreecommitdiffstats
path: root/fastos
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-02-01 12:37:50 +0100
committerTor Egge <Tor.Egge@broadpark.no>2019-02-01 12:37:50 +0100
commitbaf454fd103043b80008de52ba599fd880340d40 (patch)
treec1eb25a503adc0cfb3e67577bc72f24585b3a735 /fastos
parent809e726cb714fd357eec4de4553e0b5d331423ba (diff)
Eliminate clang warning in fastos.
Diffstat (limited to 'fastos')
-rw-r--r--fastos/src/vespa/fastos/unix_ipc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastos/src/vespa/fastos/unix_ipc.cpp b/fastos/src/vespa/fastos/unix_ipc.cpp
index 79fbe3ee076..d1b7d199782 100644
--- a/fastos/src/vespa/fastos/unix_ipc.cpp
+++ b/fastos/src/vespa/fastos/unix_ipc.cpp
@@ -660,7 +660,7 @@ void FastOS_UNIX_IPCHelper::DeliverMessages (FastOS_RingBuffer *buffer)
if((readSpace - sizeof(int)) >= bufferData->_messageSize)
{
- _app->OnReceivedIPCMessage(&bufferData->_buffer[sizeof(int)],
+ _app->OnReceivedIPCMessage(&bufferData->_buffer[0] + sizeof(int),
bufferData->_messageSize);
buffer->Consume(sizeof(int) + bufferData->_messageSize);
buffer->RepositionDataAt0();