Memtest86+: fix potential integer overflow
Coverity spotted a case where a compiler could legally overflow a
uint32_t and produce incorrect results.
It wouldn't overflow unless delay() is called for over 4.29 seconds, but
why not fix it. Add a uint64_t cast to ensure correct behavior.
Signed-off-by: Ben Gardner <firstname.lastname@example.org>
Found-by: Coverity (75584)
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <email@example.com>
1 file changed