summaryrefslogtreecommitdiff
path: root/foreign_msvc64.c
diff options
context:
space:
mode:
Diffstat (limited to 'foreign_msvc64.c')
-rw-r--r--foreign_msvc64.c2
1 files changed, 1 insertions, 1 deletions
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;