Suppress GCC 4.7 warnings by changes to code that make it less clear.
[pspp] / src / language / data-io / placement-parser.c
index cf9981de8f88f93fe028de7ce4ddfcef6e55a929..3360e8d739dc46a2890dfb063fa225fd3b3e7c26 100644 (file)
@@ -270,7 +270,7 @@ bool
 execute_placement_format (const struct fmt_spec *format,
                           int *record, int *column)
 {
-  switch (format->type)
+  switch ((int) format->type)
     {
     case PRS_TYPE_X:
       *column += format->w;