change integer types on Solaris