diff options
Diffstat (limited to 'net-p2p/linuxdcpp/files/patch-client_Text.cpp')
-rw-r--r-- | net-p2p/linuxdcpp/files/patch-client_Text.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/linuxdcpp/files/patch-client_Text.cpp b/net-p2p/linuxdcpp/files/patch-client_Text.cpp new file mode 100644 index 000000000000..bf460b55dd56 --- /dev/null +++ b/net-p2p/linuxdcpp/files/patch-client_Text.cpp @@ -0,0 +1,11 @@ +--- client/Text.cpp.orig Mon Feb 5 17:59:13 2007 ++++ client/Text.cpp Mon Feb 5 17:59:21 2007 +@@ -309,7 +309,7 @@ + char *outbuf = (char *)tmp.data(); + + while(inleft > 0) { +- rv = iconv(cd, (char **)&inbuf, &inleft, &outbuf, &outleft); ++ rv = iconv(cd, &inbuf, &inleft, &outbuf, &outleft); + if(rv == (size_t)-1) { + size_t used = outbuf - tmp.data(); + if(errno == E2BIG) { |