about summary refs log tree commit diff
path: root/src/rt/rust_timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_timer.cpp')
-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 269942f5f80..bf4d18e836d 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