From 482da59e5442d1aaa1fb34bb3ea0c7328d183e22 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 16 Aug 2011 05:35:56 +0000 Subject: Use const_cast (not static_cast) to fix the previous kdepim FTBFS... git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1247467 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kresources/groupwise/soap/stdsoap2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kresources') diff --git a/kresources/groupwise/soap/stdsoap2.cpp b/kresources/groupwise/soap/stdsoap2.cpp index 3f167eec6..959ada87d 100644 --- a/kresources/groupwise/soap/stdsoap2.cpp +++ b/kresources/groupwise/soap/stdsoap2.cpp @@ -8718,7 +8718,7 @@ soap_TQName2s(struct soap *soap, const char *s) } } } - t = static_cast(strchr(s, '"')); + t = const_cast(strchr(s, '"')); if (t) n = t - s; else -- cgit v1.2.1