diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-05-29 08:12:39 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-05-29 08:12:39 +0000 |
commit | 9c6e217f29bb0a76ec153574a3d493b020e5fb60 (patch) | |
tree | b38acde6c091b7f8b0e3205645f9d232f19eeabb /apps/plugins/doom/am_map.c | |
parent | 6980c1e9988a7c959876ad77b760e042272a9ec2 (diff) | |
download | rockbox-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/am_map.c')
-rw-r--r-- | apps/plugins/doom/am_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/doom/am_map.c b/apps/plugins/doom/am_map.c index eb4e13279e..ff74e9938f 100644 --- a/apps/plugins/doom/am_map.c +++ b/apps/plugins/doom/am_map.c | |||
@@ -194,7 +194,7 @@ int ddt_cheating = 0; // killough 2/7/98: make global, rename to ddt_* | |||
194 | 194 | ||
195 | static int leveljuststarted = 1; // kluge until AM_LevelInit() is called | 195 | static int leveljuststarted = 1; // kluge until AM_LevelInit() is called |
196 | 196 | ||
197 | enum automapmode_e automapmode; // Mode that the automap is in | 197 | automapmode_e automapmode; // Mode that the automap is in |
198 | 198 | ||
199 | // location of window on screen | 199 | // location of window on screen |
200 | static int f_x; | 200 | static int f_x; |