summaryrefslogtreecommitdiffstats
path: root/src/xml_to_data
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-17 03:26:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-17 03:26:30 +0000
commitb21d29dee8f321f0f85634674cab349c3044f82d (patch)
treeddd98a0e9a43ad7520bcfcef0fe87b2f11ae77f4 /src/xml_to_data
parent575a16e07f187a60012004aa4f608d09e05da051 (diff)
downloadpiklab-b21d29dee8f321f0f85634674cab349c3044f82d.tar.gz
piklab-b21d29dee8f321f0f85634674cab349c3044f82d.zip
Fix piklab FTBFS under oneiricv3.5.13
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1259264 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/xml_to_data')
-rw-r--r--src/xml_to_data/device_xml_to_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml_to_data/device_xml_to_data.h b/src/xml_to_data/device_xml_to_data.h
index f9874e4..36b8824 100644
--- a/src/xml_to_data/device_xml_to_data.h
+++ b/src/xml_to_data/device_xml_to_data.h
@@ -75,7 +75,7 @@ public:
ts << "const char *" << namespaceName() << "::DATA_STREAM =" << endl;
TQValueList<DataType *> list;
for (it=_map.begin(); it!=_map.end(); ++it)
- list.append(static_cast<const DataType *>(it.data()));
+ list.append(const_cast<DataType *>(static_cast<const DataType *>(it.data())));
uint size = toCppString(list, ts);
ts << ";" << endl;
ts << "const uint " << namespaceName() << "::DATA_SIZE = " << size << ";" << endl;