summaryrefslogtreecommitdiff
path: root/net-im/licq-osd/files/patch-licq-osd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/licq-osd/files/patch-licq-osd.cpp')
-rw-r--r--net-im/licq-osd/files/patch-licq-osd.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/licq-osd/files/patch-licq-osd.cpp b/net-im/licq-osd/files/patch-licq-osd.cpp
new file mode 100644
index 000000000000..b912e0ecf1f6
--- /dev/null
+++ b/net-im/licq-osd/files/patch-licq-osd.cpp
@@ -0,0 +1,11 @@
+--- src/licq-osd.cpp.orig Tue Aug 17 20:02:35 2004
++++ src/licq-osd.cpp Mon Mar 7 18:42:53 2005
+@@ -804,7 +804,7 @@
+
+ while ((fromsize>0) && (tosize>0))
+ {
+- if ((int)iconv(conv, (char **)&msgptr, &fromsize, &resptr, &tosize)==-1)
++ if ((int)iconv(conv, (const char**)(&msgptr), &fromsize, &resptr, &tosize)==-1)
+ {
+ // array is not enough
+ if (errno == E2BIG)