Fix integer overflow issue.

signed integer overflow: 2 * 1103515245
12 jobs for patch-1 in 11 minutes and 7 seconds (queued for 5 seconds)
latest
Status Job ID Name Coverage
  Build
manual #664085
allowed to fail manual
build:buster
passed #664079
build:cmake

00:03:39

passed #664076
build:debug

00:09:36

manual #664081
allowed to fail manual
build:i686-w64-mingw32-cmake
passed #664080
build:i686-w64-mingw32-debug

00:05:27

manual #664084
allowed to fail manual
build:jessie
manual #664078
allowed to fail manual
build:legacy
passed #664075
build:production

00:05:18

manual #664077
allowed to fail manual
build:reduced
passed #664082
build:x86_64-w64-mingw32

00:05:26

passed #664083
build:x86_64-w64-mingw32-cmake-debug

00:03:42

manual #664086
allowed to fail manual
build:xenial