Use the correct type in convertstr(); it worked with GNU libiconv because it defines iconv_t as void *, but not in FreeBSD which defines it as a pointer to a struct.
Use the correct type in convertstr(); it worked with GNU libiconv because it defines iconv_t as void *, but not in FreeBSD which defines it as a pointer to a struct.

dag-erling/conv-tools,dag-erling/conv-tools