Skip to content
New issue

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

tool_urlglob: use the correct format specifier for curl_off_t in msnprintf #11698

Closed
wants to merge 1 commit into from

Conversation

majstar
Copy link
Contributor

@majstar majstar commented Aug 20, 2023

Hello.
I have encountered a problem with URL globbing functionality (incorrect output of values from number ranges).
On my system (BS2000/OSD) curl_off_t and unsigned long have different size, which leads to a problem when printing curl_off_t value using %lu format specifier.
My commit fixes the problem.

@bagder
Copy link
Member

bagder commented Aug 20, 2023

I suspect this might also fix #11451

@bagder
Copy link
Member

bagder commented Aug 20, 2023

Thanks!

@bagder bagder closed this in 20e3287 Aug 20, 2023
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants