diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-11-29 14:49:26 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-11-29 14:50:19 +0000 |
commit | cb214ef824c59082fd5b66c23c45174305d793dc (patch) | |
tree | 0cbcbfeb2f89521e13cbf899fbebed0b11c598d7 /tests/drv_hangman.c | |
parent | bc849885ddaf0964da7cc981856ccab561c5b7a9 (diff) |
igt/drv_hangman: Promote nsec calc to u64
100 * 1 billion needs a 64bit intermediate
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/drv_hangman.c')
-rw-r--r-- | tests/drv_hangman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/drv_hangman.c b/tests/drv_hangman.c index db0a0778..ac6dd9e0 100644 --- a/tests/drv_hangman.c +++ b/tests/drv_hangman.c @@ -297,7 +297,7 @@ static void hangcheck_unterminated(void) { int fd; /* timeout needs to be greater than ~5*hangcheck */ - int64_t timeout_ns = 100 * NSEC_PER_SEC; /* 100 seconds */ + int64_t timeout_ns = 100ull * NSEC_PER_SEC; /* 100 seconds */ struct drm_i915_gem_execbuffer2 execbuf; struct drm_i915_gem_exec_object2 gem_exec; uint32_t handle; |