packages/net/imspector/patches/100-iconv_const.patch
florian aa2722976f [package] update imspector to 0.8 (#5357)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-17 16:03:08 +00:00

12 lines
419 B
Diff

--- a/icqprotocolplugin.cpp
+++ b/icqprotocolplugin.cpp
@@ -668,7 +668,7 @@ int getmessage(GET_ARGS, std::string &me
char converted_string[BUFFER_SIZE];
memset(converted_string, 0, BUFFER_SIZE);
- char *inbuf = string;
+ const char *inbuf = string;
char *outbuf = converted_string;
size_t inbytesleft = mylength - 4;
size_t outbytesleft = BUFFER_SIZE - 1; /* Trailing \0 */