diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mortevielle/sprint.cpp | 5 | ||||
-rw-r--r-- | engines/mortevielle/taffich.cpp | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/engines/mortevielle/sprint.cpp b/engines/mortevielle/sprint.cpp index 0523651ad9..b35bff9dc1 100644 --- a/engines/mortevielle/sprint.cpp +++ b/engines/mortevielle/sprint.cpp @@ -45,8 +45,7 @@ void writeg(Common::String l, int c) { int i, x, xo, yo; - int cecr; - bool t; + int cecr = 0; /* debug('writeg : '+l);*/ @@ -81,7 +80,7 @@ void writeg(Common::String l, int c) } xo = xo + 1; yo = yo + 1; - for (x = 1; x <= l.size(); x ++) { + for (x = 1; x <= (int)l.size(); x ++) { affcar(gd, xo, yo, cecr, ord(l[x])); xo = xo + i; } diff --git a/engines/mortevielle/taffich.cpp b/engines/mortevielle/taffich.cpp index 3cde8eb015..1a126d02b1 100644 --- a/engines/mortevielle/taffich.cpp +++ b/engines/mortevielle/taffich.cpp @@ -105,7 +105,7 @@ void taffich() { int i, m, a, b, cx, handle, npal; - float lgt, lhandle; + float lgt; Common::String nom; int palh, k, j; int alllum[16]; |