Updated patch that doesn't crash. Also fixes the related gcc notice about mismatching types at compile time.
Updated patch that doesn't crash. Also fixes the related gcc notice about mismatching types at compile time.