Code

Added reinterpret_cast to work around a difference of opinion between gcc versions.