$NetBSD: patch-ae,v 1.5 2013/07/24 15:26:11 drochner Exp $ --- src/common/utils.c.orig 2013-03-19 06:31:04.000000000 +0000 +++ src/common/utils.c @@ -5208,7 +5208,7 @@ size_t fast_strftime(gchar *buf, gint bu *curpos++ = '0'+(lt->tm_min % 10); break; case 's': - snprintf(subbuf, 64, "%ld", mktime(lt)); + snprintf(subbuf, 64, "%lld", (long long)mktime(lt)); len = strlen(subbuf); CHECK_SIZE(); strncpy2(curpos, subbuf, buflen - total_done); break; @@ -5319,7 +5319,7 @@ int claws_unlink(const gchar *filename) if (prefs_common_get_use_shred()) { if (found_shred == -1) { /* init */ - args[0] = g_find_program_in_path("shred"); + args[0] = g_find_program_in_path("claws-mail-shred"); debug_print("found shred: %s\n", args[0]); found_shred = (args[0] != NULL) ? 1:0; args[1] = "-f";