r179: *** empty log message ***
[ctsim.git] / tools / pjrec.cpp
index 272c9225d00f5a31cb7846128b0abce5ae6e3e6f..bee3d47c99925a8d6ed65ca7e395a33115bd3bf5 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: pjrec.cpp,v 1.9 2000/08/03 09:53:41 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.9 2000/08/03 09:53:41 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)
@@ -214,7 +214,7 @@ pjrec_main (int argc, char * argv[])
          break;
         case O_VERSION:
 #ifdef VERSION
-         cout <<  "Version " <<  VERSION << endl << "Id " << g_szIdStr << endl;
+         cout <<  "Version " <<  VERSION << endl << g_szIdStr << endl;
 #else
           cout << "Unknown version number" << endl;
 #endif
@@ -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();