History

Fix some issues when building on mac

elinor fung committed 9 years ago

Commit 34cadb21 parent db76c0c12 files · +47 −44Browse files

Showing the changes to src/vm/thread.cpp (1 of 12 files). Show all

Unified · Split

src/vm/thread.cpp+1−1
@@ -59,7 +59,7 @@ vm_registers_t::vm_registers_t( · 58 unmodified lines
5959 , mp_base{ entry.mp_base }
6060 , thread{ thread }
6161 , pc{ entry.module->header.entry_pc }
62− , stack{ entry.module->header.stack_extent }
62+ , stack{ static_cast<std::size_t>(entry.module->header.stack_extent) }
6363 , tool_dispatch{ nullptr }
6464 , src{ nullptr }
6565 , mid{ nullptr }