RESOLVED FIXED 278074
[WebRTC] Fix -Wcast-function-type-mismatch in connect.c from boringssl
https://bugs.webkit.org/show_bug.cgi?id=278074
Summary [WebRTC] Fix -Wcast-function-type-mismatch in connect.c from boringssl
David Kilzer (:ddkilzer)
Reported 2024-08-13 20:23:12 PDT
Fix -Wcast-function-type-mismatch in connect.c from boringssl used by WebRTC. Source/ThirdParty/libwebrtc/Source/third_party/boringssl/src/crypto/bio/connect.c:490:29 : error: cast from 'bio_info_cb' (aka 'long (*)(struct bio_st *, int, const char *, int, long, long)') to 'int (*)(const struct bio_st *, int, int)' converts to incompatible function type [-Werror,-Wcast-function-type-mismatch] 490 | data->info_callback = (int (*)(const struct bio_st *, int, int))fp; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-08-13 20:23:28 PDT
David Kilzer (:ddkilzer)
Comment 2 2024-08-13 20:30:39 PDT
David Kilzer (:ddkilzer)
Comment 3 2024-08-18 14:05:40 PDT
Committed 282262@main (be22a50): https://commits.webkit.org/282262@main Reviewed commits have been landed. Closing PR #32166 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.