summaryrefslogtreecommitdiffstats
path: root/src/extension/param/radiobutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/param/radiobutton.cpp')
-rw-r--r--src/extension/param/radiobutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/param/radiobutton.cpp b/src/extension/param/radiobutton.cpp
index d6cac6541..90b380643 100644
--- a/src/extension/param/radiobutton.cpp
+++ b/src/extension/param/radiobutton.cpp
@@ -113,7 +113,7 @@ ParamRadioButton::ParamRadioButton (const gchar * name,
// for simplicity : default to the contents of the first xml-child
const char * defaultval = NULL;
if (choices) {
- defaultval = ((optionentry*) choices->data)->value->c_str();
+ defaultval = (static_cast<optionentry*> (choices->data))->value->c_str();
}
const char * indent = xml->attribute("indent");