aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-mktemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-mktemp.c')
-rw-r--r--e-util/e-mktemp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/e-util/e-mktemp.c b/e-util/e-mktemp.c
index 0044b2e085..0e4cc6c7f3 100644
--- a/e-util/e-mktemp.c
+++ b/e-util/e-mktemp.c
@@ -50,13 +50,13 @@
/* dont scan more often than this */
#define TEMP_SCAN (60)
-static int
+static gint
expire_dir_rec(const gchar *base, time_t now)
{
GDir *dir;
const gchar *d;
GString *path;
- size_t len;
+ gsize len;
struct stat st;
gint count = 0;
@@ -120,7 +120,7 @@ get_dir (gboolean make)
g_free(tmpdir);
#else
path = g_string_new("/tmp/evolution-");
- g_string_append_printf (path, "%d", (int) getuid ());
+ g_string_append_printf (path, "%d", (gint) getuid ());
if (make) {
gint ret;