diff options
author | John Stebbins <[email protected]> | 2019-04-17 09:33:31 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-04-17 09:33:31 -0600 |
commit | f96678482e066da83cb6927b150c53bce4e1009a (patch) | |
tree | 0180744a80f0862dddbb8ce129352ed4da743a7b /gtk/src/main.c | |
parent | 9582c349bbf51453d6eec93e4ee68b1ccd920078 (diff) |
LinGui: fix additional mingw gtk UI build issues
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r-- | gtk/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c index dc064ac5d..afa55194b 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -616,7 +616,7 @@ IoRedirect(signal_user_data_t *ud) // Open activity log. config = ghb_get_user_config_dir(NULL); pid = getpid(); - path = g_strdup_printf("%s/Activity.log.%d", config, pid); + path = g_strdup_printf("%s/Activity.log.%"PRId64, config, (long)pid); ud->activity_log = g_io_channel_new_file (path, "w", NULL); ud->job_activity_log = NULL; str = g_strdup_printf("<big><b>%s</b></big>", path); |