mirror of https://git.tukaani.org/xz.git
liblzma: Silence a warning from -Wsign-conversion in a 32-bit build.
This commit is contained in:
parent
b16b9c0d22
commit
2b8062ef94
|
@ -300,8 +300,8 @@ static inline void
|
|||
mythread_condtime_set(mythread_condtime *condtime, const mythread_cond *cond,
|
||||
uint32_t timeout_ms)
|
||||
{
|
||||
condtime->tv_sec = timeout_ms / 1000;
|
||||
condtime->tv_nsec = (timeout_ms % 1000) * 1000000;
|
||||
condtime->tv_sec = (time_t)(timeout_ms / 1000);
|
||||
condtime->tv_nsec = (long)((timeout_ms % 1000) * 1000000);
|
||||
|
||||
#ifdef HAVE_CLOCK_GETTIME
|
||||
struct timespec now;
|
||||
|
|
Loading…
Reference in New Issue