diff options
author | Max Horn | 2010-10-20 23:58:34 +0000 |
---|---|---|
committer | Max Horn | 2010-10-20 23:58:34 +0000 |
commit | d8c1251f88852541a5ef909ab046cd2b5f37196d (patch) | |
tree | 4aa8d21f6acfe24d31064b03399a04e876be5db1 /engines/saga | |
parent | c105e05a022fd09062f82372860c40818a4f8b4d (diff) | |
download | scummvm-rg350-d8c1251f88852541a5ef909ab046cd2b5f37196d.tar.gz scummvm-rg350-d8c1251f88852541a5ef909ab046cd2b5f37196d.tar.bz2 scummvm-rg350-d8c1251f88852541a5ef909ab046cd2b5f37196d.zip |
SAGA: Fix warning: comparison of unsigned expression < 0 is always false
svn-id: r53660
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/saga.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/saga.h b/engines/saga/saga.h index 589be1becc..e391e662c3 100644 --- a/engines/saga/saga.h +++ b/engines/saga/saga.h @@ -385,7 +385,7 @@ struct StringsTable { Common::Array<char *> strings; const char *getString(uint index) const { - if ((strings.size() <= index) || (index < 0)) { + if (strings.size() <= index) { // This occurs at the end of Ted's chapter, right after the ending cutscene warning("StringsTable::getString wrong index 0x%X (%d)", index, strings.size()); return ""; |