1
0
Fork 0
forked from len0rd/rockbox

Fix warnings in frotz, one of which is a real bug :)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24268 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Torne Wuff 2010-01-17 22:28:36 +00:00
parent 7f28c94eda
commit d10bcd6429
2 changed files with 6 additions and 6 deletions

View file

@ -53,7 +53,7 @@ int os_random_seed (void)
{
if (user_random_seed == -1)
/* Use the rockbox tick as seed value */
return ((int)rb->current_tick) & 0x7fff;
return ((int)*rb->current_tick) & 0x7fff;
else return user_random_seed;
}