aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/hugo/hugo.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-05-11 16:38:31 +1000
committerPaul Gilbert2019-05-11 16:38:31 +1000
commit88b2b3a166333eac02803c0a7231f9f6c9b44c4e (patch)
tree63b954cc84ff46da23cf4e247dc7d882d5073843 /engines/glk/hugo/hugo.h
parent96ebd81e5f29e9cde3d83c4af0b9166cd1f40b26 (diff)
downloadscummvm-rg350-88b2b3a166333eac02803c0a7231f9f6c9b44c4e.tar.gz
scummvm-rg350-88b2b3a166333eac02803c0a7231f9f6c9b44c4e.tar.bz2
scummvm-rg350-88b2b3a166333eac02803c0a7231f9f6c9b44c4e.zip
GLK: HUGO: Compilation fixes
Diffstat (limited to 'engines/glk/hugo/hugo.h')
-rw-r--r--engines/glk/hugo/hugo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/glk/hugo/hugo.h b/engines/glk/hugo/hugo.h
index d022b1f2b0..98fbf9058a 100644
--- a/engines/glk/hugo/hugo.h
+++ b/engines/glk/hugo/hugo.h
@@ -1010,6 +1010,12 @@ private:
return _random.getRandomNumber(0xffffff);
}
+ char *itoa(int value, char *str, int base) {
+ assert(base == 10);
+ sprintf(str, "%d", value);
+ return str;
+ }
+
/**@}*/
private:
/**