changeset 3637:d0775f9708e8

Typecast to (long)
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 25 Sep 2007 23:33:32 +0300
parents 65b750891387
children 8d2f06fc841c
files src/audacious/util.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/util.c	Tue Sep 25 23:09:09 2007 +0300
+++ b/src/audacious/util.c	Tue Sep 25 23:33:32 2007 +0300
@@ -308,7 +308,7 @@
         return NULL;
     }
 #else
-    tmpdir = g_strdup_printf("%s/audacious.%ld", g_get_tmp_dir(), rand());
+    tmpdir = g_strdup_printf("%s/audacious.%ld", g_get_tmp_dir(), (long) rand());
     make_directory(tmpdir, mode755);
 #endif