From: Ben Pfaff Date: Mon, 20 Sep 2010 03:55:46 +0000 (-0700) Subject: RECODE: Suppress warning about conversion using CHAR_CAST_BUG. X-Git-Tag: v0.7.6~203 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=535b3ff175221bf40a3e009930e4121e6d093f24;p=pspp-builds.git RECODE: Suppress warning about conversion using CHAR_CAST_BUG. --- diff --git a/src/language/xforms/recode.c b/src/language/xforms/recode.c index f4a19a9c..aa051fee 100644 --- a/src/language/xforms/recode.c +++ b/src/language/xforms/recode.c @@ -20,24 +20,25 @@ #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "xalloc.h" +#include "data/case.h" +#include "data/data-in.h" +#include "data/dictionary.h" +#include "data/format.h" +#include "data/procedure.h" +#include "data/transformations.h" +#include "data/variable.h" +#include "language/command.h" +#include "language/lexer/lexer.h" +#include "language/lexer/value-parser.h" +#include "language/lexer/variable-parser.h" +#include "libpspp/assertion.h" +#include "libpspp/cast.h" +#include "libpspp/compiler.h" +#include "libpspp/message.h" +#include "libpspp/pool.h" +#include "libpspp/str.h" + +#include "gl/xalloc.h" #include "gettext.h" #define _(msgid) gettext (msgid) @@ -680,7 +681,7 @@ recode_trns_proc (void *trns_, struct ccase **c, casenumber case_idx UNUSED) } else { - char *dst = case_str_rw (*c, dst_var); + char *dst = CHAR_CAST_BUG (char *, case_str_rw (*c, dst_var)); if (out != NULL) { if (!out->copy_input)