Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in ws.c there are several calls of infof() function. For curl_off_t variables %zu format is used which breaks the output. %llu format works well, at least here in Visual Studio 2022, win32 platform.
curl 7.87.1-DEV (i386-pc-win32) libcurl/7.87.1-DEV Schannel WinIDN
Windows 11 Visual Strudio 2022
The text was updated successfully, but these errors were encountered:
I believe %Ou is the correct one for our own printf implementation:
%Ou
curl/lib/mprintf.c
Lines 360 to 366 in 12e9186
Sorry, something went wrong.
ws: use %Ou for outputting curl_off_t with info()
d68d5b8
Reported-by: Mike Duglas Fixes #10439
I confirm that %Ou works as expected.
da8e97b
Reported-by: Mike Duglas Fixes #10439 Closes #10441
bagder
Successfully merging a pull request may close this issue.
I did this
in ws.c there are several calls of infof() function. For curl_off_t variables %zu format is used which breaks the output. %llu format works well, at least here in Visual Studio 2022, win32 platform.
I expected the following
curl/libcurl version
curl 7.87.1-DEV (i386-pc-win32) libcurl/7.87.1-DEV Schannel WinIDN
operating system
Windows 11
Visual Strudio 2022
The text was updated successfully, but these errors were encountered: