diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2012-02-08 20:32:09 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2012-02-08 20:32:09 +0000 |
| commit | d659a2076f730e5bbfc5b191d6502d0fb90c320d (patch) | |
| tree | 12cfb814c53796af0850e6b70239ccb851ea5a4d /src/extension/param/radiobutton.cpp | |
| parent | Patch from lp 819209 to fix python extensions on OSX Lion (diff) | |
| download | inkscape-d659a2076f730e5bbfc5b191d6502d0fb90c320d.tar.gz inkscape-d659a2076f730e5bbfc5b191d6502d0fb90c320d.zip | |
(cppcheck and janitorial tasks:) C-style casting to C++-style casting
(bzr r10952)
Diffstat (limited to 'src/extension/param/radiobutton.cpp')
| -rw-r--r-- | src/extension/param/radiobutton.cpp | 2 |
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"); |
