Clear C4742 warning using MSVC (GH #591)
parent
2f1c984264
commit
53ccd310b8
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue