summaryrefslogtreecommitdiff
path: root/ext/syck/token.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/syck/token.c')
-rw-r--r--ext/syck/token.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syck/token.c b/ext/syck/token.c
index 0d0d4846bab..3d05527e65c 100644
--- a/ext/syck/token.c
+++ b/ext/syck/token.c
@@ -2361,7 +2361,7 @@ ScalarBlock:
{
nlDoWhat = NL_KEEP;
}
- else if ( isdigit( *yyt ) )
+ else if ( isdigit( (unsigned char)*yyt ) )
{
forceIndent = rb_long2int(strtol( yyt, NULL, 10 ));
}