model: rename 'promise_index' to 'i'
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index 4f139878ce00300f4252c1705537deabd7643a5f..9b63f0fcdbce350fa04c272d2091c676af3dd42b 100644 (file)
--- a/model.h
+++ b/model.h
@@ -116,7 +116,7 @@ public:
        unsigned int get_num_threads() const;
        Thread * get_current_thread() const;
 
-       int switch_to_master(ModelAction *act);
+       uint64_t switch_to_master(ModelAction *act);
        ClockVector * get_cv(thread_id_t tid) const;
        ModelAction * get_parent_action(thread_id_t tid) const;
        void check_promises_thread_disabled();