mac: cefclient: Fix compile error with Xcode 14.3.1

This commit is contained in:
Marshall Greenblatt 2023-06-02 14:49:54 +03:00
parent e53bff712a
commit 6355aaf33b
1 changed files with 1 additions and 1 deletions

View File

@ -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;