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)
|
||||
return;
|
||||
|
||||
char *s = (char *)node->getStringValue();
|
||||
char *s = const_cast<char *>(node->getStringValue());
|
||||
for (; *s; s++)
|
||||
*s = toupper(*s);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue