Assorted warning fixes and cleanups

This commit is contained in:
Henrik Rydgard 2013-07-06 11:09:08 +02:00
parent 7960bd0767
commit a599bf7500
9 changed files with 67 additions and 70 deletions

View file

@ -167,9 +167,9 @@ void CtrlThreadList::reloadThreads()
threads = GetThreadsInfo();
int items = ListView_GetItemCount(wnd);
while (items < threads.size())
while (items < (int)threads.size())
{
LVITEM lvI;
LVITEM lvI;
lvI.pszText = LPSTR_TEXTCALLBACK; // Sends an LVN_GETDISPINFO message.
lvI.mask = LVIF_TEXT | LVIF_IMAGE |LVIF_STATE;
lvI.stateMask = 0;