[WaE] Fix signed/unsigned comparison.

Change-Id: I79ee42e8e2480cb57f0d136bf96201e80fdf4f28
This commit is contained in:
Rafael Dominguez
2013-04-05 22:19:36 -04:30
parent 9993d25441
commit 758e01938c

View File

@@ -529,7 +529,9 @@ void ThumbnailView::KeyInput( const KeyEvent& rKEvt )
{
//If the last elemented selected is the start range position
//search for the first selected item
if (nLastPos == mpStartSelRange - mFilteredItemList.begin())
size_t nSelPos = mpStartSelRange - mFilteredItemList.begin();
if (nLastPos == nSelPos)
{
while (nLastPos && mFilteredItemList[nLastPos-1]->isSelected())
--nLastPos;