diff options
author | assarbad <none@none> | 2009-07-05 23:59:12 +0400 |
---|---|---|
committer | assarbad <none@none> | 2009-07-05 23:59:12 +0400 |
commit | a1db65e7ff8f198101c1e0cba22d50f56773342c (patch) | |
tree | ba3d2b2d9daea79113bb50e69459ebe24356e685 /windirstat/dirstatview.cpp | |
parent | 364152fe7f2661e8b99482a598bfe3cd9013e3c4 (diff) |
- Preferring size_t over INT_PTR
Diffstat (limited to 'windirstat/dirstatview.cpp')
-rw-r--r-- | windirstat/dirstatview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/windirstat/dirstatview.cpp b/windirstat/dirstatview.cpp index f2287ac..8e9db96 100644 --- a/windirstat/dirstatview.cpp +++ b/windirstat/dirstatview.cpp @@ -172,7 +172,7 @@ CString CDirstatView::GenerateReport() { CString report = GetOptions()->GetReportPrefix() + _T("\r\n"); - for(unsigned int j = 0; j < GetDocument()->GetSelectionCount(); j++) + for(size_t j = 0; j < GetDocument()->GetSelectionCount(); j++) { CItem *root = GetDocument()->GetSelection(j); ASSERT(root != NULL); @@ -348,7 +348,7 @@ void CDirstatView::OnUpdate(CView *pSender, LPARAM lHint, CObject *pHint) { // FIXME: Multi-select m_treeListControl.DeselectAll(); - for (unsigned int i = 0; i < GetDocument()->GetSelectionCount(); i++) + for (size_t i = 0; i < GetDocument()->GetSelectionCount(); i++) { m_treeListControl.SelectItem(GetDocument()->GetSelection(i)); } |