X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fgraph3dview.cpp;fp=src%2Fgraph3dview.cpp;h=8855cdade69acebd39f0de729b63c5ea8c952bd1;hp=554e00ed16a281a14fb74c7b04d66cdb54664b35;hb=3656a96ec72fa7952be940c9749488ab4757efd5;hpb=34f6a776b42adf1648140001d33170d26cd54c3d diff --git a/src/graph3dview.cpp b/src/graph3dview.cpp index 554e00e..8855cda 100644 --- a/src/graph3dview.cpp +++ b/src/graph3dview.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: graph3dview.cpp,v 1.22 2001/09/24 10:03:41 kevin Exp $ +** $Id: graph3dview.cpp,v 1.23 2001/09/24 10:05:01 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 @@ -335,7 +335,7 @@ Graph3dFileView::CreateDisplayList() glNewList (DISPLAYLIST_NO_COLOR, GL_COMPILE); dXPos = -dXOffset; - for (unsigned ix = 0; ix < nx - 1; ix++, dXPos++) { + for (unsigned int ix = 0; ix < nx - 1; ix++, dXPos++) { double dYPos = -dYOffset; glBegin(GL_QUAD_STRIP); double p1[3], p2[3], p3[3], n1[3];