From b21d29dee8f321f0f85634674cab349c3044f82d Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 17 Oct 2011 03:26:30 +0000 Subject: Fix piklab FTBFS under oneiric git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1259264 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/xml_to_data/device_xml_to_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xml_to_data') 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 list; for (it=_map.begin(); it!=_map.end(); ++it) - list.append(static_cast(it.data())); + list.append(const_cast(static_cast(it.data()))); uint size = toCppString(list, ts); ts << ";" << endl; ts << "const uint " << namespaceName() << "::DATA_SIZE = " << size << ";" << endl; -- cgit v1.2.1