aboutsummaryrefslogtreecommitdiff
path: root/src/rt
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt')
-rw-r--r--src/rt/rust_timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_timer.cpp b/src/rt/rust_timer.cpp
index 269942f5..bf4d18e8 100644
--- a/src/rt/rust_timer.cpp
+++ b/src/rt/rust_timer.cpp
@@ -59,7 +59,7 @@ rust_timer::rust_timer(rust_dom *dom) :
dom->log(rust_log::TIMER, "creating timer for domain 0x%" PRIxPTR, dom);
#if defined(__WIN32__)
thread = CreateThread(NULL, 0, timer_loop, this, 0, NULL);
- dom.win32_require("CreateThread", thread != NULL);
+ dom->win32_require("CreateThread", thread != NULL);
if (RUNNING_ON_VALGRIND)
Sleep(10);
#else