Merge pull request #10751 from SmithSamuelM/sam_raet_12

Sam raet 12
cast as int