X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-time.c;h=2734b36a566e5a9fe63cd9ff0d1246405116abca;hp=de56db9e1803304f0401a1e348b8dac00b96af94;hb=8492298a613e8e666d0f3054dadcb98b72a65ae4;hpb=50144f95cababfb73027ca95ad1fb303c235a893 diff --git a/notmuch-time.c b/notmuch-time.c index de56db9e..2734b36a 100644 --- a/notmuch-time.c +++ b/notmuch-time.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see http://www.gnu.org/licenses/ . + * along with this program. If not, see https://www.gnu.org/licenses/ . * * Author: Carl Worth */ @@ -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);