diff --git a/mqueue.cpp b/mqueue.cpp index 3e473025..814c459d 100644 --- a/mqueue.cpp +++ b/mqueue.cpp @@ -166,7 +166,8 @@ bool EqualityComparisonFilter::HandleMismatchDetected(bool blocking) m_mismatchDetected = true; if (m_throwIfNotEqual) throw MismatchDetected(); - return Output(1, (const byte *)"\0", 1, 0, blocking) != 0; + const byte b[1] = {0}; + return Output(1, b, 1, 0, blocking) != 0; } NAMESPACE_END