diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-02-18 13:35:59 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-02-18 13:35:59 +0000 |
commit | f1becea682b563d366add102cd88431f15182b26 (patch) | |
tree | ddb0f320ccddad22add4ff5425c53c3dd70696cb /src/libutil/util.h | |
parent | c1c7b9c63d6d2cdf5c42443b7a9c8c80bae49162 (diff) | |
download | rspamd-f1becea682b563d366add102cd88431f15182b26.tar.gz rspamd-f1becea682b563d366add102cd88431f15182b26.zip |
[Minor] Use own localtime/gmtime
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r-- | src/libutil/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h index 03399fec3..6470b5c45 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -479,14 +479,14 @@ guint64 rspamd_tm_to_time (const struct tm *tm, glong tz); * @param ts * @param dest */ -void rspamd_gmtime (guint64 ts, struct tm *dest); +void rspamd_gmtime (gint64 ts, struct tm *dest); /** * Split unix timestamp into struct tm using local timezone * @param ts * @param dest */ -void rspamd_localtime (guint64 ts, struct tm *dest); +void rspamd_localtime (gint64 ts, struct tm *dest); #define PTR_ARRAY_FOREACH(ar, i, cur) for ((i) = 0; (ar) != NULL && (i) < (ar)->len && (((cur) = g_ptr_array_index((ar), (i))) || 1); ++(i)) |