Hello, I've just compiled aufs on my 64bit node and there were a lot of warnings caused by 64bit specifics. The tiny patch below fixes most of them. However there are still a bit warnings, but it depends greatly on the author how to fix it, so I just report about them:
fs/aufs/xino.c:118: warning: conflicting types for built-in function 'fwrite' fs/aufs/xino.c: In function `xino_write': fs/aufs/xino.c:226: warning: int format, different type arg (arg 6) fs/aufs/xino.c: In function `xino_read': fs/aufs/xino.c:281: warning: int format, different type arg (arg 6) fs/aufs/xino.c:286: warning: int format, different type arg (arg 6) It's the aufs from sourceforge CVS.
--- ./fs/aufs/file.h.aufs-fix 2007-04-02 17:46:53.000000000 +0400 +++ ./fs/aufs/file.h 2007-04-02 18:04:06.000000000 +0400 @@ -104,7 +104,7 @@ static inline int au_figen(struct file * static inline int au_is_mmapped(struct file *f) { - return (int)ftofi(f)->fi_h_vm_ops; + return ftofi(f)->fi_h_vm_ops ? 1 : 0; } /* ---------------------------------------------------------------------- */
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV