i18n: Fix use of const qualifiers in create_iconv().
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 12 Sep 2020 16:53:52 +0000 (09:53 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 12 Sep 2020 16:54:07 +0000 (09:54 -0700)
commitdb5d7699e90fe6d690b776bb945891f6c0601c97
treed12c06a733e3f5a2c2b7881c086324508c85a12a
parent9fd7169a58954be733ae42de9916826dd56a8b81
i18n: Fix use of const qualifiers in create_iconv().

Only the inbuf parameter of iconv() takes a const qualifier, on some POSIX
nonconforming systems, but all of its parameters were qualified here, which
caused warnings on those nonconforming systems.  This fixes the problem.

Found with win-iconv for mingw.
src/libpspp/i18n.c