1
0
Fork 0

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:
mfranz 2007-05-07 14:06:05 +00:00
parent 52a4c527a6
commit 1ec6acce39

View file

@ -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);
}