summaryrefslogtreecommitdiff
path: root/libdocument/ev-document-misc.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-01-20 16:00:37 +0100
committerraveit65 <[email protected]>2020-01-31 18:52:19 +0100
commita70e19a51423b855b9da8d7f9ed40d396a534c67 (patch)
tree1fe5414f810a3fadd3fbd88673987cad60d62aac /libdocument/ev-document-misc.h
parente388b7032dda81917b05583c306a4b9690dcaa46 (diff)
downloadatril-a70e19a51423b855b9da8d7f9ed40d396a534c67.tar.bz2
atril-a70e19a51423b855b9da8d7f9ed40d396a534c67.tar.xz
Fix year 2038 issue with signed 32-bit integers
GTime is defined to always be a signed 32-bit integer, it will overflow in the year 2038.
Diffstat (limited to 'libdocument/ev-document-misc.h')
-rw-r--r--libdocument/ev-document-misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdocument/ev-document-misc.h b/libdocument/ev-document-misc.h
index 3b97e3f8..bd789971 100644
--- a/libdocument/ev-document-misc.h
+++ b/libdocument/ev-document-misc.h
@@ -63,7 +63,7 @@ void ev_document_misc_invert_pixbuf (GdkPixbuf *pixbuf);
gdouble ev_document_misc_get_monitor_dpi (GdkMonitor *monitor);
-gchar *ev_document_misc_format_date (GTime utime);
+gchar *ev_document_misc_format_date (gint64 utime);
void ev_document_misc_get_pointer_position (GtkWidget *widget,
gint *x,