summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-05-29 08:28:29 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-05-29 08:28:29 +0000
commit602bad427a0f9edbbc665033cc3ce8d1883323c9 (patch)
tree9882115137e98a59b6d33aed1f984196d58b7246
parent9c6e217f29bb0a76ec153574a3d493b020e5fb60 (diff)
downloadrockbox-602bad427a0f9edbbc665033cc3ce8d1883323c9.tar.gz
rockbox-602bad427a0f9edbbc665033cc3ce8d1883323c9.tar.bz2
rockbox-602bad427a0f9edbbc665033cc3ce8d1883323c9.zip
Doom plugin: Missed properly making a few 'unsigned' on my second pass.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26369 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/doom/d_event.h2
-rw-r--r--apps/plugins/doom/doomstat.h2
-rw-r--r--apps/plugins/doom/r_defs.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/doom/d_event.h b/apps/plugins/doom/d_event.h
index b9b42a3989..c131ed56e1 100644
--- a/apps/plugins/doom/d_event.h
+++ b/apps/plugins/doom/d_event.h
@@ -49,7 +49,7 @@ enum
ev_mouse,
ev_joystick
};
-typedef int evtype_t;
+typedef unsigned evtype_t;
// Event structure.
typedef struct
diff --git a/apps/plugins/doom/doomstat.h b/apps/plugins/doom/doomstat.h
index a89a4e547f..089f93b356 100644
--- a/apps/plugins/doom/doomstat.h
+++ b/apps/plugins/doom/doomstat.h
@@ -59,7 +59,7 @@ enum {
am_follow = 8, // keep the player centred
am_grid =16, // show grid
};
-typedef int automapmode_e;
+typedef unsigned automapmode_e;
extern automapmode_e automapmode; // Mode that the automap is in
// -----------------------------------------------------
diff --git a/apps/plugins/doom/r_defs.h b/apps/plugins/doom/r_defs.h
index 251f515a07..032e37d26c 100644
--- a/apps/plugins/doom/r_defs.h
+++ b/apps/plugins/doom/r_defs.h
@@ -192,7 +192,7 @@ enum { // cph:
RF_BOT_TILE = 4, // Lower texture needs tiling
RF_IGNORE = 8, // Renderer can skip this line
RF_CLOSED =16, // Line blocks view
-};
+}; /* r_flags */
typedef struct line_s
{
@@ -211,7 +211,7 @@ typedef struct line_s
int tranlump; // killough 4/11/98: translucency filter, -1 == none
int firsttag,nexttag; // killough 4/17/98: improves searches for tags.
int r_validcount; // cph: if == gametic, r_flags already done
- int r_flags;
+ unsigned r_flags;
}
line_t;