From a05a5b462d9af5bd333b640079bf05c6bf3b6dce Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 23 Nov 2017 10:53:30 +0100 Subject: Make time stamps 64-bit integers. Future proof the API for the Year 2038 problem. --- include/mupdf/pdf/annot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/mupdf/pdf/annot.h b/include/mupdf/pdf/annot.h index 3ec2bc1f..c55f22c5 100644 --- a/include/mupdf/pdf/annot.h +++ b/include/mupdf/pdf/annot.h @@ -207,12 +207,12 @@ void pdf_set_annot_author(fz_context *ctx, pdf_annot *annot, const char *author) /* pdf_annot_modification_date: Get annotation's modification date in seconds since the epoch. */ -int pdf_annot_modification_date(fz_context *ctx, pdf_annot *annot); +int64_t pdf_annot_modification_date(fz_context *ctx, pdf_annot *annot); /* pdf_set_annot_modification_date: Set annotation's modification date in seconds since the epoch. */ -void pdf_set_annot_modification_date(fz_context *ctx, pdf_annot *annot, int time); +void pdf_set_annot_modification_date(fz_context *ctx, pdf_annot *annot, int64_t time); /* pdf_set_free_text_details: set the position, text, font and color for a free text annotation. -- cgit v1.2.3