Skip to content

Commit b002707

Browse files
committed
Fix 64bit compile issue
1 parent 6b70c3f commit b002707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/src/http/client/http_client_winhttp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ class winhttp_client : public _http_client_communicator
12791279
// Note, some servers seem to send a first chunk of body data that decompresses to nothing but initializes the zlib decryption state. This produces no decompressed output.
12801280
// Subsequent chunks will then begin emmiting decompressed body data.
12811281

1282-
bytesRead = decompressed_size;
1282+
bytesRead = static_cast<DWORD>(decompressed_size);
12831283
}
12841284

12851285
// If the data was allocated directly from the buffer then commit, otherwise we still

0 commit comments

Comments
 (0)