diff options
Diffstat (limited to 'template/limits.c.tmpl')
-rw-r--r-- | template/limits.c.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/limits.c.tmpl b/template/limits.c.tmpl index a46cf5ed63..f7867ded9a 100644 --- a/template/limits.c.tmpl +++ b/template/limits.c.tmpl @@ -82,7 +82,7 @@ Init_limits(void) #define MAX2NUM(name) ULONG2NUM(name ## _MAX) #define MIN2NUM(name) LONG2NUM(name ## _MIN) #endif -#define DEFINE(k, v) rb_hash_aset(h, rb_str_new_lit(#k), v) +#define DEFINE(k, v) rb_hash_aset(h, rb_usascii_str_new_lit(#k), v) % limits.each do |type| #ifdef <%= type %>_MAX |