[packages] bemused: remove the iconv cast fix, it is wrong for both libiconv-full and the iconv stub
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24825 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0ef0ad047f
commit
0713817b3d
@ -1,13 +0,0 @@
|
||||
--- a/mpdctrl.c
|
||||
+++ b/mpdctrl.c
|
||||
@@ -160,8 +160,8 @@
|
||||
}
|
||||
|
||||
/* OpenWRT needs a type cast */
|
||||
- /* iconv_value = iconv(i, (const char **)&p1, &fromlen, &p2, &tolen); */
|
||||
- iconv_value = iconv(i, &p1, &fromlen, &p2, &tolen);
|
||||
+ iconv_value = iconv(i, (const char **)&p1, &fromlen, &p2, &tolen);
|
||||
+ /* iconv_value = iconv(i, &p1, &fromlen, &p2, &tolen); */
|
||||
if (iconv_value == (size_t) -1) {
|
||||
error ("ICONV ERROR3: failed to convert string, error: %d\n", errno);
|
||||
return "ICONV ERROR3";
|
Loading…
x
Reference in New Issue
Block a user