Bug 278074
Summary: | [WebRTC] Fix -Wcast-function-type-mismatch in connect.c from boringssl | ||
---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
Component: | WebRTC | Assignee: | 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)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/133810692>
David Kilzer (:ddkilzer)
Pull request: https://github.com/WebKit/WebKit/pull/32166
David Kilzer (:ddkilzer)
Committed 282262@main (be22a50): https://commits.webkit.org/282262@main
Reviewed commits have been landed. Closing PR #32166 and removing active labels.