Remove old style cast

    - Allows use of -Werror=old-style-cast on gcc