Skip to content

Commit 66181ce

Browse files
committed
Fixed Windows build.
1 parent cb989a8 commit 66181ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rt/rust_timer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ rust_timer::rust_timer(rust_dom *dom) :
5959
dom->log(rust_log::TIMER, "creating timer for domain 0x%" PRIxPTR, dom);
6060
#if defined(__WIN32__)
6161
thread = CreateThread(NULL, 0, timer_loop, this, 0, NULL);
62-
dom.win32_require("CreateThread", thread != NULL);
62+
dom->win32_require("CreateThread", thread != NULL);
6363
if (RUNNING_ON_VALGRIND)
6464
Sleep(10);
6565
#else

0 commit comments

Comments
 (0)