summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-02-01 16:58:17 +0100
committerGitHub <noreply@github.com>2019-02-01 16:58:17 +0100
commit4b8c9ea320d09e55dc38607aaf79868b255c001f (patch)
treecacd169dd53301237af36507d96db8636fb3bbe8
parentefafbb134066c51eeb0178330aaf545f7c2be700 (diff)
parentbaf454fd103043b80008de52ba599fd880340d40 (diff)
Merge pull request #8329 from vespa-engine/toregge/eliminate-clang-warning-in-fastos
Eliminate clang warning in 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();