projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Suppress GCC 4.7 warnings by changes to code that make it less clear.
[pspp]
/
src
/
language
/
data-io
/
placement-parser.c
diff --git
a/src/language/data-io/placement-parser.c
b/src/language/data-io/placement-parser.c
index cf9981de8f88f93fe028de7ce4ddfcef6e55a929..3360e8d739dc46a2890dfb063fa225fd3b3e7c26 100644
(file)
--- a/
src/language/data-io/placement-parser.c
+++ b/
src/language/data-io/placement-parser.c
@@
-270,7
+270,7
@@
bool
execute_placement_format (const struct fmt_spec *format,
int *record, int *column)
{
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;
{
case PRS_TYPE_X:
*column += format->w;