From df0faba1ff958590a02fd668afbf2b525e845b54 Mon Sep 17 00:00:00 2001 From: svn Date: Wed, 9 Jan 2019 12:55:21 +0000 Subject: * expand tabs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/stringio/stringio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c index 3cb46d99b9..161ce7fd83 100644 --- a/ext/stringio/stringio.c +++ b/ext/stringio/stringio.c @@ -810,8 +810,8 @@ strio_ungetbyte(VALUE self, VALUE c) int i = FIX2INT(c); if (0 <= i && i <= UCHAR_MAX) { char buf[1]; - buf[0] = (char)i; - return strio_unget_bytes(ptr, buf, 1); + buf[0] = (char)i; + return strio_unget_bytes(ptr, buf, 1); } else { rb_raise(rb_eRangeError, -- cgit v1.2.3