From 1df341ff45360d5d1a4f942f76862f11a0da8fa6 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 22 Feb 2007 14:08:13 +0100 Subject: [PATCH] syslet: syscall still needs void * cast It avoids the long -> structure pointer cast warning. Signed-off-by: Jens Axboe --- os-linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os-linux.h b/os-linux.h index eb60034c..b147d4f3 100644 --- a/os-linux.h +++ b/os-linux.h @@ -91,7 +91,7 @@ struct async_head_user; static inline struct syslet_uatom * async_exec(struct syslet_uatom *atom, struct async_head_user *ahu) { - return syscall(__NR_async_exec, atom, ahu); + return (void *) syscall(__NR_async_exec, atom, ahu); } static inline long -- 2.25.1