Unspecified behavior: shift operator '>>' on signed integer #744
Comments
I'm speculating at this point but it's likely that when I added that message I just copied the way it's done a few lines below as seen in your diff. I can't see any good reason for it so I've changed both, thanks! Landed in 7c314fd. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Alexis La Goutte (@alagoutte) ran PVS Studio on the curl code. One of the warnings is
This code (https://github.com/curl/curl/blob/master/lib/strerror.c#L1082) comes from commit 995c600 but I can't figure out why it is split in two sprintf formats like that. So I ask you here. I propose a fix like this to avoid the warning/problem:
The text was updated successfully, but these errors were encountered: