diff options
author | Dave Chapman <dave@dchapman.com> | 2006-03-28 19:04:48 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-03-28 19:04:48 +0000 |
commit | f81c192b3a7eb13330b37cba4b130a8c0ff3c6e4 (patch) | |
tree | 506b66faaaed634e0bdd4938e65cf2d7bdfe62e6 | |
parent | 5293ea1dace5e34082644113fbd6f6fc906624e9 (diff) |
More 64-bit fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9322 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/doom/p_saveg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/doom/p_saveg.c b/apps/plugins/doom/p_saveg.c index b1b4b934ba..1b73593879 100644 --- a/apps/plugins/doom/p_saveg.c +++ b/apps/plugins/doom/p_saveg.c @@ -269,7 +269,7 @@ void P_ThinkerToIndex(void) number_of_thinkers = 0; for (th = thinkercap.next ; th != &thinkercap ; th=th->next) if (th->function == P_MobjThinker) - th->prev = (thinker_t *) ++number_of_thinkers; + th->prev = (thinker_t *)(long)(++number_of_thinkers); } // phares 9/13/98: Moved this code outside of P_ArchiveThinkers so the @@ -788,7 +788,7 @@ void P_UnArchiveSpecials (void) door->sector = §ors[(unsigned long)door->sector]; //jff 1/31/98 unarchive line remembered by door as well - door->line = (unsigned long)door->line!=-1? &lines[(unsigned long)door->line] : NULL; + door->line = (long)door->line!=-1? &lines[(unsigned long)door->line] : NULL; door->sector->ceilingdata = door; //jff 2/22/98 door->thinker.function = T_VerticalDoor; |