summaryrefslogtreecommitdiff
path: root/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings.c')
-rw-r--r--strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings.c b/strings.c
index ee03b9978..683214aca 100644
--- a/strings.c
+++ b/strings.c
@@ -613,7 +613,7 @@ static char *FormatString(char *buff, const char *str, const int32 *argv, uint c
}
case 13: { // {G 0 Der Die Das}
- byte *s = (byte*)GetStringPtr(argv_orig[(byte)*str++]); // contains the string that determines gender.
+ const byte* s = (const byte*)GetStringPtr(argv_orig[(byte)*str++]); // contains the string that determines gender.
int len;
int gender = 0;
if (s != NULL && s[0] == 0x87) gender = s[1];