WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
298071
Fix format string warning in ArgumentCodersCocoa.mm when HAVE(WK_SECURE_CODING_NSURLREQUEST) is false
https://bugs.webkit.org/show_bug.cgi?id=298071
Summary
Fix format string warning in ArgumentCodersCocoa.mm when HAVE(WK_SECURE_CODIN...
David Kilzer (:ddkilzer)
Reported
2025-08-28 16:29:23 PDT
Fix format string warning in ArgumentCodersCocoa.mm when HAVE(WK_SECURE_CODING_NSURLREQUEST) is false. ``` Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:203:112: error: values of type 'NSUInteger' should not be used as format arguments; add an explicit cast to 'unsigned long' instead [-Werror,-Wformat] LOG_ERROR("Failed to decode NSURL due to invalid encoding of length %d. Substituting a blank URL", length); ~~ ^~~~~~ %lu (unsigned long) ``` <
rdar://159383198
>
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-08-28 16:29:45 PDT
<
rdar://problem/159400815
>
David Kilzer (:ddkilzer)
Comment 2
2025-08-28 16:33:00 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/50035
EWS
Comment 3
2025-08-28 16:55:44 PDT
Committed
299289@main
(5299b6947f9f): <
https://commits.webkit.org/299289@main
> Reviewed commits have been landed. Closing PR #50035 and removing active labels.
David Kilzer (:ddkilzer)
Comment 4
2025-08-28 17:20:14 PDT
<
rdar://159383198
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug