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:
parent
7f28c94eda
commit
d10bcd6429
2 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue