From 07fbc7c8c9cf0e9de956284d6057a825c81ae0ce Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Sat, 16 Dec 2000 02:54:47 +0000 Subject: [PATCH] r258: *** empty log message *** --- libctsim/projections.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libctsim/projections.cpp b/libctsim/projections.cpp index 4ea093a..42cc23c 100644 --- a/libctsim/projections.cpp +++ b/libctsim/projections.cpp @@ -8,7 +8,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: projections.cpp,v 1.30 2000/12/16 02:52:59 kevin Exp $ +** $Id: projections.cpp,v 1.31 2000/12/16 02:54:47 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 @@ -372,8 +372,8 @@ Projections::copyViewData (const char* const filename, ostream& os, int startVie for (int i = startView; i <= endView; i++) { is.seekg (sizeHeader + i * sizeView); - is.read (reinterpret_cast(pViewData), sizeView); - os.write (reinterpret_cast(pViewData), sizeView); + is.read (reinterpret_cast(pViewData), sizeView); + os.write (reinterpret_cast(pViewData), sizeView); if (is.fail() || os.fail()) break; } @@ -407,13 +407,13 @@ Projections::copyHeader (const char* const filename, ostream& os) } unsigned char* pHdrData = new unsigned char [sizeHeader]; - is.read (reinterpret_cast(pHdrData), sizeHeader); + is.read (reinterpret_cast(pHdrData), sizeHeader); if (is.fail()) { sys_error (ERR_FATAL, "Error reading header"); return false; } - os.write (reinterpret_cast(pHdrData), sizeHeader); + os.write (reinterpret_cast(pHdrData), sizeHeader); if (os.fail()) { sys_error (ERR_FATAL, "Error writing header"); return false; -- 2.34.1