brson / rust-sdl

SDL bindings for Rust
MIT License
179 stars 52 forks source link

Enum size optimizations break transmutes #106

Closed mstewartgallus closed 10 years ago

mstewartgallus commented 10 years ago

There are a few transmutes which are broken because enumerations are now optimized to smaller sizes like u16, or u8 instead of uint.

AngryLawyer commented 10 years ago

I'll take a peek when I get five minutes