From 602bad427a0f9edbbc665033cc3ce8d1883323c9 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 29 May 2010 08:28:29 +0000 Subject: 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 --- apps/plugins/doom/d_event.h | 2 +- apps/plugins/doom/doomstat.h | 2 +- apps/plugins/doom/r_defs.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/plugins') 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; -- cgit v1.2.3