Tests: fix warnings from implicit int() deprecation

9 jobs for fix-warnings in 3 minutes and 58 seconds
Status Job ID Name Coverage
  Test
passed #67820
VS2015
VS2015-32-bit

00:01:15

passed #67819
VS2015
VS2015-64-bit

00:01:16

passed #67818
VS2017
VS2017-32-bit

00:01:10

passed #67817
VS2015
VS2017-64-bit

00:01:16

passed #67814
Linux
clang-c++11

00:03:35

passed #67816
Linux
cppcheck

00:00:48

passed #67821
Linux
doc

00:00:21

passed #67813
Linux
gcc-c++11

00:03:57

passed #67815
Apple
macos-c++11

00:03:00