summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
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 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 */