Bug 932370 - Fix signed/unsigned comparison warning; r=bustage on a CLOSED TREE

--HG--
extra : amend_source : 67b412ef5447b5a554ab0f2e00b39db33accd04b
This commit is contained in:
Jim Chen 2014-03-11 12:24:03 -04:00
Родитель a154cec3e0
Коммит dfe3a809e7
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1010,7 +1010,7 @@ ContentEventHandler::GetFlatTextOffsetOfRange(nsIContent* aRootContent,
nsCOMPtr<nsIContentIterator> iter = NS_NewContentIterator();
if (aNode->Length() >= aNodeOffset) {
if (aNode->Length() >= static_cast<uint32_t>(aNodeOffset)) {
// Offset is within node's length; set end of range to that offset
prev->SetEnd(startDOMNode, aNodeOffset);
iter->Init(prev);