From: Ben Pfaff Date: Tue, 27 Oct 2020 02:36:51 +0000 (-0700) Subject: psppire-window: Use "long int" for %ld. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=196b7e19f0b117076d740b5809e9ecfec34982b2;p=pspp psppire-window: Use "long int" for %ld. Found on mingw. --- diff --git a/src/ui/gui/psppire-window.c b/src/ui/gui/psppire-window.c index 8e73ab2a68..15f8503de2 100644 --- a/src/ui/gui/psppire-window.c +++ b/src/ui/gui/psppire-window.c @@ -435,7 +435,7 @@ psppire_window_query_save (PsppireWindow *se) gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), _("If you don't save, changes from the last %ld seconds will be permanently lost."), - timespan / G_TIME_SPAN_SECOND); + (long int) (timespan / G_TIME_SPAN_SECOND)); gtk_dialog_add_button (GTK_DIALOG (dialog), _("Close _without saving"),