From d659a2076f730e5bbfc5b191d6502d0fb90c320d Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Wed, 8 Feb 2012 21:32:09 +0100 Subject: (cppcheck and janitorial tasks:) C-style casting to C++-style casting (bzr r10952) --- src/extension/param/radiobutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/extension/param/radiobutton.cpp') 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 (choices->data))->value->c_str(); } const char * indent = xml->attribute("indent"); -- cgit v1.2.3