Cleanup: Remove some unneeded type casting when computing an offset.
Authored by: david_costanzo 2024-04-14
Parent: [r6029]
Child: [r6031]