splice flags are unsigned int, not unsigned long
authorJens Axboe <jens.axboe@oracle.com>
Fri, 8 Jun 2007 09:25:19 +0000 (11:25 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 8 Jun 2007 09:25:19 +0000 (11:25 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
splice.h

index 3f85edabe58a2696f06713611a54c267e2bf8796..386da4ee88b0105fcb0aa0352d82ca0e52c39d2d 100644 (file)
--- a/splice.h
+++ b/splice.h
@@ -38,7 +38,7 @@
 #endif /* SPLICE_F_MOVE defined */
 
 static inline int ssplice(int fdin, loff_t *off_in, int fdout, loff_t *off_out,
-                         size_t len, unsigned long flags)
+                         size_t len, unsigned int flags)
 {
        
        return syscall(__NR_sys_splice, fdin, off_in, fdout, off_out, len, flags);