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