aboutsummaryrefslogtreecommitdiff
path: root/saga/expr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saga/expr.cpp')
-rw-r--r--saga/expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/saga/expr.cpp b/saga/expr.cpp
index 3ecfc38e16..9de0681906 100644
--- a/saga/expr.cpp
+++ b/saga/expr.cpp
@@ -273,7 +273,7 @@ char *EXPR_ReadString(const char **string_p, int *len, int term_char) {
int in_char;
if (term_char > 0) {
- term_p = strchr(*string_p, term_char);
+ term_p = (char *)strchr(*string_p, term_char);
if (term_p == NULL) {
return NULL;
}