cosmetics: make the reason for the cast obvious. (Now that almost all of
fgfs has to be recompiled (because of a patch to simgear/props/props.hxx) this is the right time to commit this completely unimportant patch. :-)
This commit is contained in:
parent
52a4c527a6
commit
1ec6acce39
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ public:
|
||||||
if (node->getType() != SGPropertyNode::STRING)
|
if (node->getType() != SGPropertyNode::STRING)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
char *s = (char *)node->getStringValue();
|
char *s = const_cast<char *>(node->getStringValue());
|
||||||
for (; *s; s++)
|
for (; *s; s++)
|
||||||
*s = toupper(*s);
|
*s = toupper(*s);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue