summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.c b/error.c
index adacc3c982..6a4641fc53 100644
--- a/error.c
+++ b/error.c
@@ -35,10 +35,10 @@ int ruby_nerrs;
static void
err_snprintf(buf, len, fmt, args)
char *buf, *fmt;
- int len;
+ long len;
va_list args;
{
- int n;
+ long n;
ruby_set_current_source();
if (!ruby_sourcefile) {