Skip to content

Commit 1497e2d

Browse files
committed
Fix MSVC compile warning
(cherry picked from commit 36bbb7d)
1 parent 9d6739f commit 1497e2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/steamnetworkingsockets/clientlib/steamnetworkingsockets_ice_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ bool ICESessionInterface::SendPacketGather( int nChunks, const iovec *pChunks, i
11541154
static const uint32 k_zeroPad = 0;
11551155
iovec relayChunks[5];
11561156
relayChunks[0].iov_base = hdrBuf;
1157-
relayChunks[0].iov_len = (size_t)( (uint8*)(p+1) - hdrBuf );
1157+
relayChunks[0].iov_len = (uint8*)(p+1) - hdrBuf;
11581158
int nRelayChunks = 1;
11591159
for ( int i = 0; i < nChunks; ++i )
11601160
relayChunks[nRelayChunks++] = pChunks[i];

0 commit comments

Comments
 (0)