fixed a compiler error when timestamp is long
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 22 Oct 2004 07:11:02 +0000 (07:11 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 22 Oct 2004 07:11:02 +0000 (07:11 +0000)
examples/pose/HiSim/Main/Nic.C

index f7f957d813c18760a00e936a01534eb9a69dc82b..f9c0a29cc8f837cdb03478267edf2fcf84760054 100644 (file)
@@ -80,7 +80,8 @@ void NetInterface::storeMsgInAdvance(NicMsg *m) {
 // Receive packet by packet and finally send message to node
 
 void NetInterface::recvPacket(Packet *p) {
-        POSE_TimeType tmp,expected,extra,hops,remlen; TaskMsg *tm; TransMsg *tr;Position src; MsgStore ms;
+        POSE_TimeType tmp,expected,extra,remlen; TaskMsg *tm; TransMsg *tr;Position src; MsgStore ms;
+       int hops;
         remoteMsgId rmid(p->hdr.msgId,p->hdr.src);
         map<remoteMsgId,int>::iterator it2 = pktMap.find(rmid);