clock: add modelclock_t typedef, use 'unsigned int'
[c11tester.git] / clockvector.h
index 470914b1ae2b08b19248b5aba29142c990232b4f..f56d8d5089b28a86b368214b9b68ae5cf1feed59 100644 (file)
@@ -8,6 +8,7 @@
 #include "threads.h"
 #include "mymemory.h"
 
+typedef unsigned int modelclock_t;
 /* Forward declaration */
 class ModelAction;
 
@@ -24,7 +25,7 @@ public:
        MEMALLOC
 private:
        /** @brief Holds the actual clock data, as an array. */
-       int *clock;
+       modelclock_t *clock;
 
        /** @brief The number of threads recorded in clock (i.e., its length).  */
        int num_threads;