changed all SDL types into stdint types