Bug 1298562 - Use %u instead of %llu for uint32_t. r?masayuki
MozReview-Commit-ID: EF1G77Y30ws
--- a/widget/cocoa/TextInputHandler.mm
+++ b/widget/cocoa/TextInputHandler.mm
@@ -3279,17 +3279,17 @@ IMEInputHandler::GetAttributedSubstringF
startOffset -= mIMECompositionStart;
}
textContent.InitForQueryTextContent(startOffset, aRange.length, options);
textContent.RequestFontRanges();
DispatchEvent(textContent);
MOZ_LOG(gLog, LogLevel::Info,
("%p IMEInputHandler::GetAttributedSubstringFromRange, "
- "textContent={ mSucceeded=%s, mReply={ mString=\"%s\", mOffset=%llu } }",
+ "textContent={ mSucceeded=%s, mReply={ mString=\"%s\", mOffset=%u } }",
this, TrueOrFalse(textContent.mSucceeded),
NS_ConvertUTF16toUTF8(textContent.mReply.mString).get(),
textContent.mReply.mOffset));
if (!textContent.mSucceeded) {
return nil;
}
@@ -3356,17 +3356,17 @@ IMEInputHandler::SelectedRange()
RefPtr<IMEInputHandler> kungFuDeathGrip(this);
WidgetQueryContentEvent selection(true, eQuerySelectedText, mWidget);
DispatchEvent(selection);
MOZ_LOG(gLog, LogLevel::Info,
("%p IMEInputHandler::SelectedRange, selection={ mSucceeded=%s, "
- "mReply={ mOffset=%llu, mString.Length()=%llu } }",
+ "mReply={ mOffset=%u, mString.Length()=%u } }",
this, TrueOrFalse(selection.mSucceeded), selection.mReply.mOffset,
selection.mReply.mString.Length()));
if (!selection.mSucceeded) {
return mSelectedRange;
}
mWritingMode = selection.GetWritingMode();