aboutsummaryrefslogtreecommitdiff
path: root/net/ulxmlrpcpp/files/patch-ulxmlrpcpp:ulxmlrpcpp.cpp
blob: 21108c0bd170f2ebd762f2e9a278f67853b079d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ulxmlrpcpp/ulxmlrpcpp.cpp.orig	Thu Nov 27 02:44:22 2003
+++ ulxmlrpcpp/ulxmlrpcpp.cpp	Wed Dec 10 11:34:49 2003
@@ -742,7 +742,7 @@
   {
     size_t outbytes = sizeof(buffer);
     char *outbuf = buffer;
-    char *inbuf = const_cast<char*>(val.data())+in_offset;
+    const char *inbuf = const_cast<char*>(val.data())+in_offset;
     size_t inbytes = val.length()-in_offset;
 #if defined(__SUN__) || defined(__CYGWIN__)
     if ((int)iconv(con, &(const char*)inbuf, &inbytes, &outbuf, &outbytes) <  0)