Bug 278074

Summary: [WebRTC] Fix -Wcast-function-type-mismatch in connect.c from boringssl
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: WebRTCAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.