summaryrefslogtreecommitdiffstats
path: root/apps/plugins/frotz/dumb_init.c
diff options
context:
space:
mode:
authorTorne Wuff <torne@wolfpuppy.org.uk>2010-01-17 22:28:36 +0000
committerTorne Wuff <torne@wolfpuppy.org.uk>2010-01-17 22:28:36 +0000
commitd10bcd6429b78768a1d5edcc831bdd72e6f648f0 (patch)
treeb2fe379fd9a141c73ef10ac8e86b8725b4037683 /apps/plugins/frotz/dumb_init.c
parent7f28c94eda576e3f972fc05468188986f2e45885 (diff)
downloadrockbox-d10bcd6429b78768a1d5edcc831bdd72e6f648f0.tar.gz
rockbox-d10bcd6429b78768a1d5edcc831bdd72e6f648f0.zip
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.c2
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;
}