** 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
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);