summary refs log tree commit diff stats
path: root/include/exec/user/thunk.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/exec/user/thunk.h')
-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 a5bbb2c733..b281dfa30f 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