#116: use size specific integer types

This commit is contained in:
Andrey Prygunkov
2015-11-21 00:02:22 +01:00
parent b5dd49dbc4
commit 4e4816c3c8
49 changed files with 638 additions and 626 deletions

View File

@@ -199,8 +199,8 @@ bool GroupSorter::operator()(NzbInfo* nzbInfo1, NzbInfo* nzbInfo2) const
void GroupSorter::AlignSelectedGroups()
{
NzbInfo* lastNzbInfo = NULL;
unsigned int lastNum = 0;
unsigned int num = 0;
uint32 lastNum = 0;
uint32 num = 0;
while (num < m_nzbList->size())
{
NzbInfo* nzbInfo = m_nzbList->at(num);
@@ -1170,7 +1170,7 @@ void QueueEditor::ReorderFiles(ItemList* itemList)
EditItem* firstItem = itemList->front();
NzbInfo* nzbInfo = firstItem->m_fileInfo->GetNzbInfo();
unsigned int insertPos = 0;
uint32 insertPos = 0;
// now can reorder
for (ItemList::iterator it = itemList->begin(); it != itemList->end(); it++)