aboutsummaryrefslogtreecommitdiffstats
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 54f53036c8..73974b76f0 100644
--- a/pack.c
+++ b/pack.c
@@ -1204,7 +1204,7 @@ infected_str_new(const char *ptr, long len, VALUE str)
static VALUE
pack_unpack(VALUE str, VALUE fmt)
{
- static const char hexdigits[] = "0123456789abcdef";
+#define hexdigits ruby_hexdigits
char *s, *send;
char *p, *pend;
VALUE ary;