summaryrefslogtreecommitdiffstats
path: root/sip/kio/ksycocaentry.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/kio/ksycocaentry.sip')
-rw-r--r--sip/kio/ksycocaentry.sip3
1 files changed, 2 insertions, 1 deletions
diff --git a/sip/kio/ksycocaentry.sip b/sip/kio/ksycocaentry.sip
index dc60fdb..d2e7e8d 100644
--- a/sip/kio/ksycocaentry.sip
+++ b/sip/kio/ksycocaentry.sip
@@ -144,7 +144,8 @@ protected:
KSycocaEntry::List::Iterator it;
for( it = cList->begin(); it != cList->end(); ++it )
{
- svc = &(KSycocaEntry::Ptr)(*it);
+ KSharedPtr<KSycocaEntry> svcptr = static_cast<KSycocaEntry::Ptr>(*it);
+ svc = &svcptr;
if (svc->data ()->sycocaType () == KST_KService)
{
svcType = (KSharedPtr<KService> *)svc;