sandbox: fix signed integer overflow
On a 32-bit host system, UBSan reports:

===============================================================
UBSAN: Undefined behaviour in ./arch/sandbox/os/common.c:115:32
signed integer overflow:
83598 * 1000000000 cannot be represented in type 'long int'
===============================================================

Fix this.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 359fc72 commit de0c31a9293adb7518b3b86f12c53c41f8771a28
@Ahmad Fatoum Ahmad Fatoum authored on 3 Feb 2020
Sascha Hauer committed on 10 Feb 2020
Showing 1 changed file
View
arch/sandbox/os/common.c