aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2009-02-15 10:29:34 +0000
committerFilippos Karapetis2009-02-15 10:29:34 +0000
commit1dcc6b79c9ba6d90cc6a17a26ee1c681b48e21ec (patch)
treeab38461311cdda8e5d63e32a85780b2d16a2b314 /engines/sci
parentaef228ac27200bf70904cd7d38027306f86e98d2 (diff)
downloadscummvm-rg350-1dcc6b79c9ba6d90cc6a17a26ee1c681b48e21ec.tar.gz
scummvm-rg350-1dcc6b79c9ba6d90cc6a17a26ee1c681b48e21ec.tar.bz2
scummvm-rg350-1dcc6b79c9ba6d90cc6a17a26ee1c681b48e21ec.zip
Silenced some more warnings
svn-id: r38221
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/scriptdebug.c10
-rw-r--r--engines/sci/sfx/iterator.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/sci/engine/scriptdebug.c b/engines/sci/engine/scriptdebug.c
index 285646f70c..a2a1d2427d 100644
--- a/engines/sci/engine/scriptdebug.c
+++ b/engines/sci/engine/scriptdebug.c
@@ -729,7 +729,7 @@ c_vr(state_t *s)
int
c_segkill(state_t *s)
{
- int i = 0;
+ unsigned int i = 0;
while (i < cmd_paramlength) {
int nr = cmd_params[i++].val;
@@ -759,7 +759,7 @@ c_mousepos(state_t *s)
int
c_seginfo(state_t *s)
{
- int i = 0;
+ unsigned int i = 0;
if (cmd_paramlength) {
while (i < cmd_paramlength) {
@@ -2424,7 +2424,7 @@ c_disasm_addr(state_t *s)
int op_count = 1;
int do_bwc = 0;
int do_bytes = 0;
- int i;
+ unsigned int i;
int invalid = 0;
int size;
sm_dereference(&s->seg_manager, vpc, &size);
@@ -2571,7 +2571,7 @@ c_send(state_t *s)
reg_t object = cmd_params[0].reg;
char *selector_name = cmd_params[1].str;
stack_ptr_t stackframe = s->execution_stack->sp;
- int i, selector_id, selector_type;
+ unsigned int i, selector_id, selector_type;
exec_stack_t *xstack;
object_t *o;
reg_t *vptr;
@@ -2728,7 +2728,7 @@ static int
c_handle_config_update(const generic_config_flag_t *flags, int flags_nr,
const char *subsystem, int *active_options_p)
{
- int i;
+ unsigned int i;
if (!_debugstate_valid) {
sciprintf("Not in debug state\n");
diff --git a/engines/sci/sfx/iterator.c b/engines/sci/sfx/iterator.c
index 2d9008a842..78bbdf816b 100644
--- a/engines/sci/sfx/iterator.c
+++ b/engines/sci/sfx/iterator.c
@@ -833,7 +833,7 @@ _sci1_song_init(sci1_song_iterator_t *self)
offset++;
while (SONGDATA(0) != 0xff) { /* End of list? */
- int track_offset;
+ unsigned int track_offset;
int end;
offset += 2;