WRG: fix warning about type conversion

2 jobs from refactor-dynamiccast in 25 minutes and 9 seconds (queued for 2 seconds)
latest merge request
Status Job ID Name Coverage
  Build
passed #1212
build-mr

00:25:09

passed #1211
native-build

00:24:41