> > \The first two should have casts as well I think, but you get lucky > because > they're passed in registers and not the stack? >
it "worked", but I switched to providing a prototype declaring all args to __syscall as 64bit and now everything is happy (with the extra padding arg added). -- Tim Newsham | www.thenewsh.com/~newsham | @newshtwit | thenewsh.blogspot.com