Skip to content

Commit

Permalink
standalone_miri - Fix a MSVC build error
Browse files Browse the repository at this point in the history
  • Loading branch information
thepowersgang committed Dec 10, 2023
1 parent 65d69e1 commit 8a5ffd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/standalone_miri/miri_extern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ bool InterpreterThread::call_extern(Value& rv, const ::std::string& link_name, c
const auto& sym_alloc = args.at(1).get_relocation(0);

// TODO: Ensure that first arg is a FFI pointer with offset+size of zero
void* handle = handle_alloc.ffi().ptr_value;
void* handle = handle_alloc.ffi().ptr_value();
// TODO: Get either a FFI data pointer, or a inner data pointer
const void* symname = sym_alloc.alloc().data_ptr();
// TODO: Sanity check that it's a valid c string within its allocation
Expand Down

0 comments on commit 8a5ffd0

Please sign in to comment.