# HG changeset patch # User Matti Hamalainen # Date 1190752412 -10800 # Node ID d0775f9708e80c3bee7af92bb3bb1c60072834b4 # Parent 65b7508913878bd6869b92d0300bb746b33562b5 Typecast to (long) diff -r 65b750891387 -r d0775f9708e8 src/audacious/util.c --- 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