Mercurial > audlegacy
diff src/audacious/util.c @ 3637:d0775f9708e8
Typecast to (long)
| author | Matti Hamalainen <ccr@tnsp.org> |
|---|---|
| date | Tue, 25 Sep 2007 23:33:32 +0300 |
| parents | 8bd7d6129bc4 |
| children | ebf763c51061 |
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
