summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index 0b51d7c608..300c09fed0 100644
--- a/error.c
+++ b/error.c
@@ -242,7 +242,7 @@ VALUE
rb_exc_new(etype, ptr, len)
VALUE etype;
const char *ptr;
- int len;
+ long len;
{
VALUE exc = rb_obj_alloc(etype);