From 1ec6acce39533cd43d5bbf42c277f34a6d614205 Mon Sep 17 00:00:00 2001 From: mfranz Date: Mon, 7 May 2007 14:06:05 +0000 Subject: [PATCH] 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. :-) --- src/Main/fg_props.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/fg_props.hxx b/src/Main/fg_props.hxx index b20f10292..4025b185d 100644 --- a/src/Main/fg_props.hxx +++ b/src/Main/fg_props.hxx @@ -538,7 +538,7 @@ public: if (node->getType() != SGPropertyNode::STRING) return; - char *s = (char *)node->getStringValue(); + char *s = const_cast(node->getStringValue()); for (; *s; s++) *s = toupper(*s); }