From: Vsevolod Stakhov Date: Mon, 3 Nov 2014 10:54:44 +0000 (+0000) Subject: Fix tv_to_msec macro priority. X-Git-Tag: 0.7.3~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c23a4b69e84bd77c4d589e8d7500c28b21e37fce;p=rspamd.git Fix tv_to_msec macro priority. --- diff --git a/src/libutil/util.h b/src/libutil/util.h index ed4e6fcca..e7a9f520a 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -243,7 +243,7 @@ gsize rspamd_strlcpy_tolower (gchar *dst, const gchar *src, gsize siz); #define double_to_tv(dbl, tv) do { (tv)->tv_sec = (int)(dbl); (tv)->tv_usec = \ ((dbl) - (int)(dbl)) * 1000 * 1000; \ } while (0) -#define tv_to_msec(tv) (tv)->tv_sec * 1000LLU + (tv)->tv_usec / 1000LLU +#define tv_to_msec(tv) ((tv)->tv_sec * 1000LLU + (tv)->tv_usec / 1000LLU) /* Compare two emails for building emails tree */ gint compare_email_func (gconstpointer a, gconstpointer b);