mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-16 12:10:41 +01:00
mac: cefclient: Fix compile error with Xcode 14.3.1
This commit is contained in:
parent
c4d256c286
commit
778aa851a9
@ -132,7 +132,7 @@ extern NSString* NSTextInputReplacementRangeAttributeName;
|
||||
|
||||
BOOL isAttributedString = [aString isKindOfClass:[NSAttributedString class]];
|
||||
NSString* im_text = isAttributedString ? [aString string] : aString;
|
||||
uint32_t length = [im_text length];
|
||||
uint32_t length = static_cast<uint32_t>([im_text length]);
|
||||
|
||||
// |markedRange_| will get set in a callback from ImeSetComposition().
|
||||
selectedRange_ = newSelRange;
|
||||
|
Loading…
x
Reference in New Issue
Block a user