[packages] libtheora: avoid libSDL build dependency by removing call to AM_PATH_SDL...
[openwrt/svn-archive/archive.git] / net / imspector / patches / 100-iconv_const.patch
1 --- a/icqprotocolplugin.cpp
2 +++ b/icqprotocolplugin.cpp
3 @@ -668,7 +668,7 @@ int getmessage(GET_ARGS, std::string &me
4 char converted_string[BUFFER_SIZE];
5 memset(converted_string, 0, BUFFER_SIZE);
6
7 - char *inbuf = string;
8 + const char *inbuf = string;
9 char *outbuf = converted_string;
10 size_t inbytesleft = mylength - 4;
11 size_t outbytesleft = BUFFER_SIZE - 1; /* Trailing \0 */