psppire-window: Use "long int" for %ld.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 27 Oct 2020 02:36:51 +0000 (19:36 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 27 Oct 2020 02:36:51 +0000 (19:36 -0700)
Found on mingw.

src/ui/gui/psppire-window.c

index 8e73ab2a68fda84f75bb4c26794fe72e34b0ccc6..15f8503de26589aba8b82de8bcccdce830b8a01e 100644 (file)
@@ -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"),