diff options
author | Paul Gilbert | 2019-09-29 15:05:58 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-09-29 15:08:52 -0700 |
commit | 643ee33a3deab293c8377ce278866c0e6b241fab (patch) | |
tree | 0e25407d50e6fa48e3995e1481d3e88647c2319c /engines/glk/quest/geas_util.cpp | |
parent | defc19ada4f94d727531a78f0fa1574c328ef06d (diff) | |
download | scummvm-rg350-643ee33a3deab293c8377ce278866c0e6b241fab.tar.gz scummvm-rg350-643ee33a3deab293c8377ce278866c0e6b241fab.tar.bz2 scummvm-rg350-643ee33a3deab293c8377ce278866c0e6b241fab.zip |
GLK: QUEST: gcc compilation fixes
Diffstat (limited to 'engines/glk/quest/geas_util.cpp')
-rw-r--r-- | engines/glk/quest/geas_util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/quest/geas_util.cpp b/engines/glk/quest/geas_util.cpp index bc5eaac177..56ea70feef 100644 --- a/engines/glk/quest/geas_util.cpp +++ b/engines/glk/quest/geas_util.cpp @@ -66,7 +66,7 @@ int eval_int(String s) { //cerr << "symbol == " << symbol << "; find --> " // << String("+-*/").find (symbol) << endl; - if (String("+-*/").find(symbol) == String::npos) + if (String("+-*/").find(symbol) == (int)String::npos) return arg1; ++ index; @@ -171,7 +171,7 @@ String lcase(String s) { Common::Array<String> split_param(String s) { Common::Array<String> rv; - uint c1 = 0, c2; + int c1 = 0, c2; for (;;) { c2 = s.find(';', c1); |