X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsim%2Fscanner.cpp;h=53588db67b9ff9d047d87c18ed2145a2a4449bb0;hp=6ebb04e65b5c14f5772e0daf924c7a9c61584dce;hb=3fba6928127cd65870bdcd96c8114ad5894247ae;hpb=08f34bf3ba14d4f436f4d2ef0ee5af1d6eb266ac diff --git a/libctsim/scanner.cpp b/libctsim/scanner.cpp index 6ebb04e..53588db 100644 --- a/libctsim/scanner.cpp +++ b/libctsim/scanner.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: scanner.cpp,v 1.2 2000/06/25 17:32:24 kevin Exp $ +** $Id: scanner.cpp,v 1.3 2000/07/13 07:03:21 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 @@ -305,7 +305,7 @@ Scanner::projectSingleView (const Phantom& phm, DetectorArray& detArray, const d double xs = xs_maj; double ys = ys_maj; double sum = 0.0; - for (int i = 0; i < m_nSample; i++) { + for (unsigned int i = 0; i < m_nSample; i++) { #ifdef HAVE_SGP if (m_trace >= TRACE_RAYS) { sgp2_move_abs (xs, ys);