r1948: *** empty log message ***
[ctsim.git] / src / graph3dview.cpp
index 15d560f839f2f3af63cfb4d9b5c7549160b883b9..474c52458f4f9adcba8937d9b40e4f5f7f7528e9 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: graph3dview.cpp,v 1.21 2001/03/21 21:45:31 kevin Exp $
+**  $Id: graph3dview.cpp,v 1.24 2001/09/24 11:34:06 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
@@ -287,7 +287,8 @@ Graph3dFileView::CreateDisplayList()
   dYOffset = 0;
 
   double dXPos = -dXOffset;
-  for (unsigned ix = 0; ix < nx - 1; ix++, dXPos++) {
+  unsigned int ix;
+  for (ix = 0; ix < nx - 1; ix++, dXPos++) {
     double dYPos = -dYOffset;
     glBegin(GL_QUAD_STRIP);
     double p1[3], p2[3], p3[3], n1[3];