X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=notmuch-time.c;h=e250c3d5ea5d5af574e2a8a837896e02e1499739;hb=ad7bb423fb26f2b2fb801d3c2e3ceef9c7e3e622;hp=de56db9e1803304f0401a1e348b8dac00b96af94;hpb=50144f95cababfb73027ca95ad1fb303c235a893;p=obsolete%2Fnotmuch-old 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);