[webkit-changes] [WebKit/WebKit] 0b149e: SVGToOTFFontConversion.cpp:169:29: error: use of o...
Michael Catanzaro
noreply at github.com
Tue Dec 3 10:46:19 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0b149ed6d30f64ba6353c79c8d7738edad2947c7
https://github.com/WebKit/WebKit/commit/0b149ed6d30f64ba6353c79c8d7738edad2947c7
Author: Michael Catanzaro <mcatanzaro at redhat.com>
Date: 2024-12-03 (Tue, 03 Dec 2024)
Changed paths:
M Source/WebCore/svg/SVGToOTFFontConversion.cpp
Log Message:
-----------
SVGToOTFFontConversion.cpp:169:29: error: use of overloaded operator '[]' is ambiguous (with operand types 'ASCIILiteral' and 'int')
https://bugs.webkit.org/show_bug.cgi?id=283768
Reviewed by Fujii Hironori.
Specify the type of the integer literal to be size_t to disambiguate
which operator[] to use. I'm not actually sure where the built-in
operator[]s are coming from, but that probably doesn't matter since we
surely want to use the one defined in ASCIILiteral.
* Source/WebCore/svg/SVGToOTFFontConversion.cpp:
(WebCore::SVGToOTFFontConverter::append32BitCode):
(WebCore::SVGToOTFFontConverter::appendTable):
Canonical link: https://commits.webkit.org/287287@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list