diff options
Diffstat (limited to 'src/terminal.c')
-rw-r--r-- | src/terminal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/terminal.c b/src/terminal.c index 0be68cf..b4efd39 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -25,7 +25,6 @@ #include <errno.h> #include <locale.h> #include <stdlib.h> -#include <time.h> #include <unistd.h> #include <glib.h> @@ -525,7 +524,8 @@ main (int argc, char **argv) if (options->startup_id == NULL) { - options->startup_id = g_strdup_printf ("_TIME%lu", g_get_monotonic_time () / 1000); + options->startup_id = g_strdup_printf ("_TIME%" G_GINT64_FORMAT, + g_get_monotonic_time () / 1000); } gdk_init (&argc, &argv); |