From: Jens Axboe Date: Thu, 22 Feb 2007 13:08:13 +0000 (+0100) Subject: syslet: syscall still needs void * cast X-Git-Tag: fio-1.12~26 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=1df341ff45360d5d1a4f942f76862f11a0da8fa6;ds=inline syslet: syscall still needs void * cast It avoids the long -> structure pointer cast warning. Signed-off-by: Jens Axboe --- 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