1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: Fix FTBFS on 32-bit with 64-bit time_t
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1111348
--- syncevolution-2.0.0.orig/src/gtk3-ui/sync-ui.c
+++ syncevolution-2.0.0/src/gtk3-ui/sync-ui.c
@@ -1611,7 +1611,7 @@ restore_clicked_cb (GtkButton *btn, app_
static void
add_backup (app_data *data, const char *peername, const char *dir,
- long endtime, GList *sources)
+ time_t endtime, GList *sources)
{
GtkWidget *timelabel, *label, *blabel, *button, *box;;
guint rows;
@@ -1689,7 +1689,7 @@ get_reports_for_backups_cb (SyncevoServe
GHashTableIter iter;
char *key, *val;
/* long status = -1; */
- long endtime = -1;
+ time_t endtime = -1;
char *peername = NULL;
char *dir = NULL;
GList *backup_sources = NULL;
|