r622: *** empty log message ***
[ctsim.git] / src / threadraster.cpp
index 736bf90b71d1606ec044281b08fcef3c6873ce45..fd03a65e906d8b04367e4ce2f34186a821a8f2ca 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2001 Kevin Rosenberg
 **
-**  $Id: threadraster.cpp,v 1.10 2001/03/05 19:14:40 kevin Exp $
+**  $Id: threadraster.cpp,v 1.13 2001/03/09 02:40:17 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
@@ -86,8 +86,8 @@ RasterizerSupervisorThread::Entry()
   if (! rasterSupervisor.cancelled())
     rasterSupervisor.onDone();
   rasterSupervisor.deleteWorkers();
-  
-  return reinterpret_cast<wxThread::ExitCode>(0);
+
+    return static_cast<wxThread::ExitCode>(0);
 }
 
 void
@@ -208,8 +208,7 @@ RasterizerWorker::Entry ()
       break;
     }
     rPhantom.convertToImagefile (*m_pImageFile, m_iNX, m_dViewRatio, m_iNSample, Trace::TRACE_NONE, iUnit + m_iStartUnit, 1, iUnit);
-
-       m_pSupervisor->onWorkerUnitTick();
+         m_pSupervisor->onWorkerUnitTick();
   }
 
   m_pSupervisor->onWorkerDone (m_iThread);
@@ -217,7 +216,7 @@ RasterizerWorker::Entry ()
   while (! TestDestroy())
     Sleep(100);
 
-  return reinterpret_cast<wxThread::ExitCode>(0);
+  return static_cast<wxThread::ExitCode>(0);
 }
 
 void