From 0ccc5dbe83218c981261240c4973d42919bf6d29 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 13 Oct 2005 14:30:54 +0000 Subject: * io.c, pack.c, ext/syck/rubyext.c, ext/syck/syck.h, missing/isinf.c: get rid of warnings. fixed: [ruby-core:06247] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pack.c') diff --git a/pack.c b/pack.c index 376d8ce1c9..f475f26f9b 100644 --- a/pack.c +++ b/pack.c @@ -2020,7 +2020,7 @@ uv_to_utf8(char *buf, unsigned long uv) rb_raise(rb_eRangeError, "pack(U): value out of range"); } -static const long utf8_limits[] = { +static const unsigned long utf8_limits[] = { 0x0, /* 1 */ 0x80, /* 2 */ 0x800, /* 3 */ -- cgit v1.2.3