aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/parser.cpp')
-rw-r--r--engines/hugo/parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/parser.cpp b/engines/hugo/parser.cpp
index fcf9f9b07d..001ddac8e4 100644
--- a/engines/hugo/parser.cpp
+++ b/engines/hugo/parser.cpp
@@ -283,7 +283,7 @@ bool Parser::isWordPresent(char **wordArr) const {
/**
* Locate word in list of nouns and return ptr to first string in noun list
*/
-char *Parser::findNoun() const {
+const char *Parser::findNoun() const {
debugC(1, kDebugParser, "findNoun()");
for (int i = 0; _vm->_text->getNounArray(i); i++) {
@@ -298,7 +298,7 @@ char *Parser::findNoun() const {
/**
* Locate word in list of verbs and return ptr to first string in verb list
*/
-char *Parser::findVerb() const {
+const char *Parser::findVerb() const {
debugC(1, kDebugParser, "findVerb()");
for (int i = 0; _vm->_text->getVerbArray(i); i++) {