mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 14:41:25 +00:00
utils: Remove the LL suffix from NSEC_PER_MILLISEC
This constant fits in a regular 32 bit signed integer so it does not need the suffix. It is also not used in expressions that may overflow. Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
476f19a3c8
commit
d4251bac5f
@ -53,7 +53,7 @@ static inline int test_bit(int index, uint32_t val)
|
||||
typedef int64_t red_time_t;
|
||||
|
||||
#define NSEC_PER_SEC 1000000000LL
|
||||
#define NSEC_PER_MILLISEC 1000000LL
|
||||
#define NSEC_PER_MILLISEC 1000000
|
||||
#define NSEC_PER_MICROSEC 1000
|
||||
|
||||
/* g_get_monotonic_time() does not have enough precision */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user