From 66b3f4b8d9f1b606eb4a6e893db9f293cbeb95a3 Mon Sep 17 00:00:00 2001 From: Leo Date: Tue, 6 Jul 2010 03:44:13 +0000 Subject: Fixes for VC8. git-svn-id: http://svn.leocad.org/branches/leocad-0.75@953 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- win/Print.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'win/Print.cpp') diff --git a/win/Print.cpp b/win/Print.cpp index 6f693f8..496f891 100644 --- a/win/Print.cpp +++ b/win/Print.cpp @@ -204,7 +204,7 @@ static void PrintCatalogThread (CWnd* pParent, CFrameWnd* pMainFrame) start.next = NULL; - for (j = 0; j < pLib->GetPieceCount (); j++) + for (int j = 0; j < pLib->GetPieceCount (); j++) { char* desc = pLib->GetPieceInfo(j)->m_strDescription; @@ -231,7 +231,7 @@ static void PrintCatalogThread (CWnd* pParent, CFrameWnd* pMainFrame) if (PD->PrintRange()) { - for (j = 0; j < (int)(nStartPage - 1)*rows*cols; j++) + for (int j = 0; j < (int)(nStartPage - 1)*rows*cols; j++) if (node) node = node->next; } -- cgit v1.2.3