summaryrefslogtreecommitdiff
path: root/hwpfilter/source/hstyle.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:04:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:21 +0100
commit33815ec44937f731ce3de9146a97265662d0d206 (patch)
tree40257290d306f43f9e5bb521c9ac9344a11cfd88 /hwpfilter/source/hstyle.cxx
parent5d950b3afd91e87035d24b550f29d0b3a7c5033b (diff)
Clean up C-style casts from pointers to void
Change-Id: Ifbdbd2bb8a21afa76271728c46f88c11a887fc5a
Diffstat (limited to 'hwpfilter/source/hstyle.cxx')
-rw-r--r--hwpfilter/source/hstyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/hstyle.cxx b/hwpfilter/source/hstyle.cxx
index 6be9bd85f343..0d2c8674cefa 100644
--- a/hwpfilter/source/hstyle.cxx
+++ b/hwpfilter/source/hstyle.cxx
@@ -28,7 +28,7 @@
enum
{ MAXSTYLENAME = 20 };
-#define DATA ((StyleData *)style)
+#define DATA static_cast<StyleData *>(style)
struct StyleData
{