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_linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/executor_linux.h') diff --git a/executor/executor_linux.h b/executor/executor_linux.h index 489fb56a5..f98a93f90 100644 --- a/executor/executor_linux.h +++ b/executor/executor_linux.h @@ -48,7 +48,7 @@ static void os_init(int argc, char** argv, void* data, size_t data_size) static __thread cover_t* current_cover; -static long execute_syscall(const call_t* c, long a[kMaxArgs]) +static intptr_t execute_syscall(const call_t* c, intptr_t a[kMaxArgs]) { if (c->call) return c->call(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]); -- cgit mrf-deployment