aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-time.c
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-time.c')
-rw-r--r--notmuch-time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-time.c b/notmuch-time.c
index de56db9e..e250c3d5 100644
--- a/notmuch-time.c
+++ b/notmuch-time.c
@@ -43,7 +43,7 @@
#define DAY (24 * HOUR)
#define RELATIVE_DATE_MAX 20
const char *
-notmuch_time_relative_date (void *ctx, time_t then)
+notmuch_time_relative_date (const void *ctx, time_t then)
{
struct tm tm_now, tm_then;
time_t now = time(NULL);