simulator: fix Travis build (integer overflow)