change an int to POSE_TimeType
authorGengbin Zheng <gzheng@illinois.edu>
Sun, 31 Oct 2004 03:54:05 +0000 (03:54 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Sun, 31 Oct 2004 03:54:05 +0000 (03:54 +0000)
examples/pose/HiSim/Main/TCsim.C

index 56d485c4951603a36c508b0b25528689ce58b26e..9b322a7ef7982870747fa3d2a1152798c7121e3c 100644 (file)
@@ -392,7 +392,7 @@ void BGproc::enableGenTasks(TaskID* taskID, POSE_TimeType oldStartTime, POSE_Tim
 
   for (int i=0; i<numGenTasks; i++) {
     // time units offset in future at which task i is generated
-    int taskOffset = generatedTasks[i].receiveTime - oldStartTime;
+    POSE_TimeType taskOffset = generatedTasks[i].receiveTime - oldStartTime;
     int myNode = parent->thisIndex/numWth;
     int srcSwitch = myNode;