summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/wi_stuff.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-05-29 08:12:39 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-05-29 08:12:39 +0000
commit9c6e217f29bb0a76ec153574a3d493b020e5fb60 (patch)
treeb38acde6c091b7f8b0e3205645f9d232f19eeabb /apps/plugins/doom/wi_stuff.h
parent6980c1e9988a7c959876ad77b760e042272a9ec2 (diff)
downloadrockbox-9c6e217f29bb0a76ec153574a3d493b020e5fb60.tar.gz
rockbox-9c6e217f29bb0a76ec153574a3d493b020e5fb60.zip
Doom plugin: In anticipation of moving to the EABI toolchain, because of its assumptions about enums being sized as ints, convert enum typdefs to int or unsigned depending upon whether they have negative values in the enumeration. This should effectively preserve the manner in which it is compiled under the old toolchain and avoids having to closely inspect and possibly change many places in the code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26368 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/wi_stuff.h')
-rw-r--r--apps/plugins/doom/wi_stuff.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/doom/wi_stuff.h b/apps/plugins/doom/wi_stuff.h
index 72c1d32d07..595418f88d 100644
--- a/apps/plugins/doom/wi_stuff.h
+++ b/apps/plugins/doom/wi_stuff.h
@@ -38,13 +38,14 @@
38 38
39// States for the intermission 39// States for the intermission
40 40
41typedef enum 41enum
42{ 42{
43 NoState = -1, 43 NoState = -1,
44 StatCount, 44 StatCount,
45 ShowNextLoc 45 ShowNextLoc
46 46
47} stateenum_t; 47};
48typedef int stateenum_t;
48 49
49// Called by main loop, animate the intermission. 50// Called by main loop, animate the intermission.
50void WI_Ticker (void); 51void WI_Ticker (void);