6 /* OpenWRT needs a type cast */
7 - /* iconv_value = iconv(i, (const char **)&p1, &fromlen, &p2, &tolen); */
8 - iconv_value = iconv(i, &p1, &fromlen, &p2, &tolen);
9 + iconv_value = iconv(i, (const char **)&p1, &fromlen, &p2, &tolen);
10 + /* iconv_value = iconv(i, &p1, &fromlen, &p2, &tolen); */
11 if (iconv_value == (size_t) -1) {
12 error ("ICONV ERROR3: failed to convert string, error: %d\n", errno);
13 return "ICONV ERROR3";