diff options
author | Torne Wuff <torne@wolfpuppy.org.uk> | 2010-01-17 22:28:36 +0000 |
---|---|---|
committer | Torne Wuff <torne@wolfpuppy.org.uk> | 2010-01-17 22:28:36 +0000 |
commit | d10bcd6429b78768a1d5edcc831bdd72e6f648f0 (patch) | |
tree | b2fe379fd9a141c73ef10ac8e86b8725b4037683 /apps/plugins/frotz/dumb_init.c | |
parent | 7f28c94eda576e3f972fc05468188986f2e45885 (diff) |
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
Diffstat (limited to 'apps/plugins/frotz/dumb_init.c')
-rw-r--r-- | apps/plugins/frotz/dumb_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/frotz/dumb_init.c b/apps/plugins/frotz/dumb_init.c index ea08447c0c..e4ab3ad824 100644 --- a/apps/plugins/frotz/dumb_init.c +++ b/apps/plugins/frotz/dumb_init.c @@ -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; } |