aboutsummaryrefslogtreecommitdiff
path: root/include/exec/user
diff options
context:
space:
mode:
Diffstat (limited to 'include/exec/user')
-rw-r--r--include/exec/user/thunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/user/thunk.h b/include/exec/user/thunk.h
index a5bbb2c..b281dfa 100644
--- a/include/exec/user/thunk.h
+++ b/include/exec/user/thunk.h
@@ -42,7 +42,7 @@ typedef enum argtype {
} argtype;
#define MK_PTR(type) TYPE_PTR, type
-#define MK_ARRAY(type, size) TYPE_ARRAY, size, type
+#define MK_ARRAY(type, size) TYPE_ARRAY, (int)(size), type
#define MK_STRUCT(id) TYPE_STRUCT, id
#define THUNK_TARGET 0