(input/overlay.c) input_overlay_resolve_targets - do explicit cast