Skip to content

Commit bea837e

Browse files
committed
Fixing up reinterpret cast in http_win8.cpp that was losing const.
1 parent 5f500a7 commit bea837e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/src/http/client/http_win8.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ class IResponseStream
287287
try
288288
{
289289
auto buffer = context->_get_writebuffer();
290-
const size_t count = buffer.putn(reinterpret_cast<uint8_t *>(pv), static_cast<size_t>(cb)).get();
290+
const size_t count = buffer.putn(reinterpret_cast<const uint8_t *>(pv), static_cast<size_t>(cb)).get();
291291

292292
_ASSERTE(count != static_cast<size_t>(-1));
293293
_ASSERTE(count <= static_cast<size_t>(ULONG_MAX));

0 commit comments

Comments
 (0)