Allow fio headers to be included by a C++ build
[fio.git] / os / os-linux.h
index 791ec7a78ae1693ae278fec4cc599a6e1566e324..c0f5327637bae11d572aacd315f5b018f2aa6ec3 100644 (file)
@@ -116,7 +116,7 @@ struct async_head_user;
 static inline struct syslet_uatom *
 async_exec(struct syslet_uatom *atom, struct async_head_user *ahu)
 {
-       return (void *) syscall(__NR_async_exec, atom, ahu);
+       return (struct syslet_uatom *) syscall(__NR_async_exec, atom, ahu);
 }
 
 static inline long