From: John Darrington Date: Fri, 16 Jul 2010 13:42:40 +0000 (+0200) Subject: Remove const qualifiers from encoding converter components. X-Git-Tag: v0.7.6~338 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9c7f743be4a93db4bf21861b62a984186f32308;p=pspp-builds.git Remove const qualifiers from encoding converter components. These elements have to be freed. Therefore const is not appropriate. --- diff --git a/src/libpspp/i18n.c b/src/libpspp/i18n.c index 340d71d7..0e9b2b1b 100644 --- a/src/libpspp/i18n.c +++ b/src/libpspp/i18n.c @@ -42,9 +42,9 @@ #endif struct converter - { - const char *tocode; - const char *fromcode; + { + char *tocode; + char *fromcode; iconv_t conv; };