datarace/clockvector: switch 'clocks' to use 'unsigned int' (modelclock_t)
[c11tester.git] / datarace.h
index e3cab5d6612aeb7f5770122ad27201a5245435f1..ef1ef8ca4a256eeaede006d24c7c806fa5844103 100644 (file)
@@ -29,12 +29,12 @@ void raceCheckRead(thread_id_t thread, void *location, ClockVector *currClock);
  * next 23 bits are write clock vector.  */
 
 struct RaceRecord {
-       int *readClock;
+       modelclock_t *readClock;
        thread_id_t *thread;
        int capacity;
        int numReads;
        thread_id_t writeThread;
-       int writeClock;
+       modelclock_t writeClock;
 };
 
 #define INITCAPACITY 4