X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fthreadraster.cpp;h=fd03a65e906d8b04367e4ce2f34186a821a8f2ca;hb=130313545159177ab450ddd249a49096cfdb1376;hp=736bf90b71d1606ec044281b08fcef3c6873ce45;hpb=fbe99ce7041eb409981b1fd8e269827daf4ed168;p=ctsim.git diff --git a/src/threadraster.cpp b/src/threadraster.cpp index 736bf90..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.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(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