mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
liblzma: Silence a warning from -Wsign-conversion in a 32-bit build.
This commit is contained in:
parent
5ce6ddc221
commit
37fbdfb726
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue