Fix format specifier for DWORD in wxWebRequestWinHTTP code

This fixes assertion failure when running under Win64 due to the size
mismatch between DWORD and size_t on this platform.
This commit is contained in:
Vadim Zeitlin
2021-01-15 13:00:19 +01:00
parent ef08d499ce
commit 420160f0a2

View File

@@ -149,7 +149,7 @@ wxWebRequestWinHTTP::HandleCallback(DWORD dwInternetStatus,
LPVOID lpvStatusInformation,
DWORD dwStatusInformationLength)
{
wxLogTrace(wxTRACE_WEBREQUEST, "Request %p: callback %08x, len=%zu",
wxLogTrace(wxTRACE_WEBREQUEST, "Request %p: callback %08x, len=%lu",
this, dwInternetStatus, dwStatusInformationLength);
switch ( dwInternetStatus )