K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-02-23T07:33:29.107817Z K 7 svn:log V 382 Add explicit casting in few places. It is only really necessary for open(2)'s third argument, which is optional and obtained through stdarg(3). open(2)'s third argument is 32bit and we pass 64 bits. On little endian it works, because we take lower 32 bits, but on big endian platforms we take upper 32 bits, so we end up with 0. Reported by: Milan Čermák END