X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fpjrec.cpp;h=bee3d47c99925a8d6ed65ca7e395a33115bd3bf5;hb=b9a7ca1861da4fe6d5891920ba3b38de1ae11594;hp=bab43e7a36ac1c947cca57c31b4467aa3ffc7fec;hpb=f030c81015a387f4935dd2c3e8de3383e636d75c;p=ctsim.git diff --git a/tools/pjrec.cpp b/tools/pjrec.cpp index bab43e7..bee3d47 100644 --- a/tools/pjrec.cpp +++ b/tools/pjrec.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: pjrec.cpp,v 1.10 2000/08/03 09:57:29 kevin Exp $ +** $Id: pjrec.cpp,v 1.11 2000/08/09 23:10:55 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 @@ -49,7 +49,7 @@ static struct option my_options[] = {0, 0, 0, 0} }; -static const char* g_szIdStr = "$Id: pjrec.cpp,v 1.10 2000/08/03 09:57:29 kevin Exp $"; +static const char* g_szIdStr = "$Id: pjrec.cpp,v 1.11 2000/08/09 23:10:55 kevin Exp $"; void pjrec_usage (const char *program) @@ -390,7 +390,7 @@ ReduceImageMPI (MPIWorld& mpiWorld, ImageFile* imLocal, ImageFile* imGlobal) { ImageFileArray vLocal = imLocal->getArray(); - for (int ix = 0; ix < imLocal->nx(); ix++) { + for (unsigned int ix = 0; ix < imLocal->nx(); ix++) { void *recvbuf = NULL; if (mpiWorld.getRank() == 0) { ImageFileArray vGlobal = imGlobal->getArray();