aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-mktemp.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-02 07:09:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-02 22:35:03 +0800
commit433eac7844481b8ceda0bae8bf08f6bb623185b0 (patch)
treed66a04ad4fa676b4bfce762dee09a82f4434d374 /e-util/e-mktemp.c
parente6c6cbdfb5fd5723ff840b24b29690235be0d74d (diff)
downloadgsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.gz
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.bz2
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.lz
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.xz
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.zst
gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.zip
More code cleanup.
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;