Ensuring 32 bit parameters to ioctl() also on 64 bit architectures.
Merge pull request #2 from joakimp/fix64bit

Ensuring 32 bit parameters to ioctl() also on 64 bit architectures.