The cast provokes a warning on systems that require alignment, so remove it. memcpy takes const void* input, so the cast is unnecessary. Reported-by: MattWatt <https://github.com/dxx-rebirth/dxx-rebirth/issues/119>