X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fviews.cpp;h=86e0cf56b2a265b60922ef6f4ac06a215d29e09d;hp=307d6c0c054cf24823a1f9884be4807f7dfa6430;hb=7ae47cb0ff0a16d1c36797576155263434cc73ff;hpb=ee405282853525f1fa25c4f4321ba85652353564 diff --git a/src/views.cpp b/src/views.cpp index 307d6c0..86e0cf5 100644 --- a/src/views.cpp +++ b/src/views.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: views.cpp,v 1.41 2000/12/29 19:30:08 kevin Exp $ +** $Id: views.cpp,v 1.42 2000/12/29 20:18:59 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -87,7 +87,6 @@ void ImageFileCanvas::DrawRubberBandCursor (wxDC& dc, int x, int y) { const ImageFile& rIF = m_pView->GetDocument()->getImageFile(); - ImageFileArrayConst v = rIF.getArray(); int nx = rIF.nx(); int ny = rIF.ny(); @@ -1696,7 +1695,7 @@ PlotFileView::OnUpdate (wxView *WXUNUSED(sender), wxObject *WXUNUSED(hint) ) delete m_pEZPlot; m_pEZPlot = new EZPlot; - for (int iEzset = 0; iEzset < rPlotFile.getNumEzsetCommands(); iEzset++) + for (unsigned int iEzset = 0; iEzset < rPlotFile.getNumEzsetCommands(); iEzset++) m_pEZPlot->ezset (rPlotFile.getEzsetCommand (iEzset)); if (m_bMinSpecified) {