Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions runtime/trampolines-varargs.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// TODO: temp ignore to minimize diff
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wsign-conversion"

#if !defined (__i386__) && !defined (__x86_64__) && !(defined (__arm64__) && !defined(__ILP32__))
#define __VARARGS_TRAMPOLINES__ 1
#endif
Expand Down Expand Up @@ -132,7 +128,7 @@
case _C_ULNG:
case _C_LNG_LNG:
case _C_ULNG_LNG:
state->longlong_ret = *(uint64_t *) mono_object_unbox (value);
Comment thread
mandel-macaque marked this conversation as resolved.
state->longlong_ret = *(int64_t *) mono_object_unbox (value);
break;

// For pointer types we get the value itself.
Expand Down Expand Up @@ -323,6 +319,4 @@
va_end (state.ap);
}

#endif /* __VARARGS_TRAMPOLINES__ */

#pragma clang diagnostic pop
#endif /* __VARARGS_TRAMPOLINES__ */