internal/syscall.h: use a macro for the syscall args casts
authorrofl0r <retnyg@gmx.net>
Tue, 7 Jan 2014 02:31:34 +0000 (03:31 +0100)
committerrofl0r <retnyg@gmx.net>
Sat, 22 Feb 2014 08:50:39 +0000 (09:50 +0100)
commitbf84967cae9a5ef5582f9bbf5a097fb083126e33
treeffede24b7242714f9797d95a7d85552bb2dacc99
parentdc01e2cbfb290198c03514fe51ed32c1098b774f
internal/syscall.h: use a macro for the syscall args casts

this allows syscall_arch.h to define the macro __scc if special
casting is needed, as is the case for x32, where the actual syscall
arguments are 64bit, but, in case of pointers, would get sign-extended
and thus become invalid.
src/internal/syscall.h