refix previous fix
authorGengbin Zheng <gzheng@illinois.edu>
Mon, 1 Nov 2004 19:03:12 +0000 (19:03 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Mon, 1 Nov 2004 19:03:12 +0000 (19:03 +0000)
examples/pose/HiSim/Main/Nic.C

index 38367d4869129aaae9740215c760e6bee023d041..b4e91a025b7343044ec1565850ca7f11e757b954 100644 (file)
@@ -124,7 +124,7 @@ void NetInterface::recvPacket(Packet *p) {
         curInterval = ovt/config.collection_interval;
         if((curInterval > prevIntervalStart) && (numRecvd)) {
         prevIntervalStart = curInterval;
-        parent->CommitPrintf("%d*%d %d %lld %.2f\n",nicConsts->id-config.nicStart,numRecvd, hops,(POSE_TimeType)prevIntervalStart,(float)counter/numRecvd);
+        parent->CommitPrintf("%d*%d %d %lld %.2f\n",nicConsts->id-config.nicStart,numRecvd, hops,(CmiInt8)prevIntervalStart,(float)counter/numRecvd);
        counter=0; numRecvd = 0;
         }
         }