X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fthreadraster.cpp;h=fd03a65e906d8b04367e4ce2f34186a821a8f2ca;hb=841cd96a9faa03494c7841877a7f008c019fed9e;hp=8a93facb5538ad2025e09cba70ac39a76562b878;hpb=b4f2d26b8657e786cecf339a13fe8e53c2a0e6b5;p=ctsim.git diff --git a/src/threadraster.cpp b/src/threadraster.cpp index 8a93fac..fd03a65 100644 --- a/src/threadraster.cpp +++ b/src/threadraster.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2001 Kevin Rosenberg ** -** $Id: threadraster.cpp,v 1.11 2001/03/05 20:29:23 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 @@ -87,7 +87,7 @@ RasterizerSupervisorThread::Entry() rasterSupervisor.onDone(); rasterSupervisor.deleteWorkers(); - return reinterpret_cast(0); + return static_cast(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(0); + return static_cast(0); } void