Added a couple of (int) casts to quiet my compiler.
Authored by: dwarren 2018-06-25
Parent: [r9382]
Child: [r9384]