From 001e36bc7862e1663aa5e6608882e78f08ebab41 Mon Sep 17 00:00:00 2001 From: munjinoo <2jwdream7029@naver.com> Date: Mon, 6 May 2019 13:55:50 +0900 Subject: executor: change syscall argument type to intptr_t The type size of long depends on compiler. Therefore, changing to intptr_t makes it depends on architecture. --- executor/executor_akaros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/executor_akaros.h') diff --git a/executor/executor_akaros.h b/executor/executor_akaros.h index e60e7cfc6..82cae909d 100644 --- a/executor/executor_akaros.h +++ b/executor/executor_akaros.h @@ -19,7 +19,7 @@ static void os_init(int argc, char** argv, void* data, size_t data_size) } } -static long execute_syscall(const call_t* c, long a[kMaxArgs]) +static intptr_t execute_syscall(const call_t* c, intptr_t a[kMaxArgs]) { return syscall(c->sys_nr, a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); } -- cgit mrf-deployment