summaryrefslogtreecommitdiff
path: root/ext/psych/yaml/scanner.c
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-04 20:12:43 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-04 20:12:43 +0900
commit39622232c7542d062f79277a11f6b8b6b6cfd994 (patch)
treee37d8616d0866e9c34d00d688262073c6a49e8ab /ext/psych/yaml/scanner.c
parent2d8c037e97e8120de254006f7d60ec9e42a7b6ae (diff)
Suppress warnings of bundled libyaml.
Diffstat (limited to 'ext/psych/yaml/scanner.c')
-rw-r--r--ext/psych/yaml/scanner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/yaml/scanner.c b/ext/psych/yaml/scanner.c
index 359f1072f1..204593d910 100644
--- a/ext/psych/yaml/scanner.c
+++ b/ext/psych/yaml/scanner.c
@@ -1227,7 +1227,7 @@ yaml_parser_roll_indent(yaml_parser_t *parser, ptrdiff_t column,
return 0;
}
- parser->indent = column;
+ parser->indent = (int)column;
/* Create a token and insert it into the queue. */