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@xxxxxxxxxxxxxxx> --- v2: No changes. v1: https://lists.freedesktop.org/archives/spice-devel/2019-May/049193.html server/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils.h b/server/utils.h index ea0de1529..54bc9d490 100644 --- a/server/utils.h +++ b/server/utils.h @@ -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 */ -- 2.20.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel