summaryrefslogtreecommitdiffstats
path: root/pack.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-13 14:30:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-10-13 14:30:54 +0000
commit644489858fcd2b38260677760ea5322689fae3ff (patch)
tree444f73d4b5daa94c8a1f6de4020660dac89742e6 /pack.c
parentadc80c1ea6a355f6f1c412d645e4d25494b9861d (diff)
downloadruby-644489858fcd2b38260677760ea5322689fae3ff.tar.gz
ruby-644489858fcd2b38260677760ea5322689fae3ff.tar.xz
ruby-644489858fcd2b38260677760ea5322689fae3ff.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@9383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index 376d8ce1c..f475f26f9 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 */