projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa01d13
)
syslet: syscall still needs void * cast
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 22 Feb 2007 13:08:13 +0000
(14:08 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 22 Feb 2007 13:08:13 +0000
(14:08 +0100)
It avoids the long -> structure pointer cast warning.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
os-linux.h
patch
|
blob
|
blame
|
history
diff --git
a/os-linux.h
b/os-linux.h
index eb60034cc7d4fad59816925c382b090bdf50a918..b147d4f3b340c0fd2bb5f352b469beb97e6b57e7 100644
(file)
--- 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