mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-31 20:04:09 +00:00
Force 64 bit multiplication on 32 bit systems; fixes a bug where the server times out the display channel freakily fast.
This commit is contained in:
parent
91210c671f
commit
8d3ebe31dd
@ -4636,7 +4636,7 @@ static inline uint64_t red_now(void)
|
||||
|
||||
clock_gettime(CLOCK_MONOTONIC, &time);
|
||||
|
||||
return time.tv_sec * 1000000000 + time.tv_nsec;
|
||||
return ((uint64_t) time.tv_sec) * 1000000000 + time.tv_nsec;
|
||||
}
|
||||
|
||||
static int red_process_cursor(RedWorker *worker, uint32_t max_pipe_size, int *ring_is_empty)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user