diff --git a/src/common/kernel/eressea.c b/src/common/kernel/eressea.c index 43d54c640..b8a53caab 100644 --- a/src/common/kernel/eressea.c +++ b/src/common/kernel/eressea.c @@ -110,14 +110,14 @@ const char *directions[MAXDIRECTIONS+2] = const char * dbrace(const struct race * rc) { - static char zText[32]; - unsigned char * zPtr = (unsigned char*)zText; - strcpy(zText, LOC(find_locale("en"), rc_name(rc, 0))); - while (*zPtr) { - *zPtr = (unsigned char)toupper(*(int*)zPtr); - ++zPtr; - } - return zText; + static char zText[32]; + char * zPtr = zText; + strcpy(zText, LOC(find_locale("en"), rc_name(rc, 0))); + while (*zPtr) { + *zPtr = toupper(*zPtr); + ++zPtr; + } + return zText; } const char *gr_prefix[3] = {