From 67009bd4b728ff72f336051f66e8f83ac6eda21a Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Tue, 5 May 2020 13:43:38 -0400 Subject: got Windows 64-bit build to work, added Windows instructions to README --- foreign_msvc64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'foreign_msvc64.c') diff --git a/foreign_msvc64.c b/foreign_msvc64.c index 4bbb643..d5be6a6 100644 --- a/foreign_msvc64.c +++ b/foreign_msvc64.c @@ -52,7 +52,7 @@ static Status foreign_call(ForeignFnManager *ffmgr, FnExpr *fn, Type *ret_type, U64 *word = words; char *type = (char *)arg_types; for (size_t i = 0; i < nargs; ++i) { - if (!val_to_words(args[i], (Type *)type, call_where, word)) + if (!val_to_word(args[i], (Type *)type, call_where, word)) return false; type += arg_types_stride; ++word; -- cgit v1.2.3