You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The root cause is OS400 where in setup-os400.h, sendto() is hash defined to use Curl_os400_sendto(), however the prototype for the OS400 wrapper to deal with EBCDIC/ASCII conversions doesn't match the usual POSIX prototype of;
Add const qualifier to 5th argument of Curl_os400_sendto()
Make OS400 wrapper for sendto match the normal prototype of sendto()
with a const qualifier.
Fixescurl#10539Closescurl#10548
I did this
Build 7.88, failed in TFTP module with following const mismatch error at line 531;
CZM0280(30) Function argument assignment between types "struct sockaddr*" and "const struct sockaddr*" is not allowed.
This appears to have been uncovered by #10213.
The root cause is OS400 where in setup-os400.h, sendto() is hash defined to use Curl_os400_sendto(), however the prototype for the OS400 wrapper to deal with EBCDIC/ASCII conversions doesn't match the usual POSIX prototype of;
I expected the following
Clean build
curl/libcurl version
7.88
[curl -V output]
operating system
OS400 V7R5M0
The text was updated successfully, but these errors were encountered: