Remove some uneeded type casting when computing an offset.
Authored by: david_costanzo 2024-04-14
Parent: [r6030]
Child: [r6032]