Skip to content

Commit 57ecd28

Browse files
committed
Fix compile error in InternalRecvMsg()
1 parent 334eba5 commit 57ecd28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/IPC/Primitives.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ bool InternalRecvMsg(Sys::OSHandle handle, Util::Reader& reader)
343343
recvBuffer.reset( static_cast<char*>( malloc( NACL_ABI_IMC_BYTES_MAX ) ) );
344344
}
345345

346-
std::fill(std::begin(h), std::end(h),NACL_ABI_IMC_BYTES_MAX);
346+
std::fill( std::begin( h ), std::end( h ), ( NaClHandle ) NACL_ABI_IMC_BYTES_MAX );
347347

348348
#ifdef __native_client__
349349
hdr.iov = iov;

0 commit comments

Comments
 (0)