refixed previous commitprintf
[charm.git] / examples / pose / HiSim / Main / Nic.C
index b4e91a025b7343044ec1565850ca7f11e757b954..d877db3f85775b181083e3bad392748d41441c84 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,(CmiInt8)prevIntervalStart,(float)counter/numRecvd);
+        parent->CommitPrintf("%d*%d %d %lld %.2f\n",nicConsts->id-config.nicStart,numRecvd, hops,prevIntervalStart,(float)counter/numRecvd);
        counter=0; numRecvd = 0;
         }
         }