From bab153b24385e3a27847707720837b4c749960ec Mon Sep 17 00:00:00 2001 From: michal Date: Tue, 28 May 2002 18:11:07 +0000 Subject: * array.c: fixed format string for 'long' args (%d -> %ld). * class.c: ditto. * eval.c: ditto. * numeric.c: ditto. * pack.c: ditto. * parse.y: ditto. * range.c: ditto. * string.c: ditto. * util.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util.c') diff --git a/util.c b/util.c index e37d0adcbc..98d161935f 100644 --- a/util.c +++ b/util.c @@ -169,7 +169,7 @@ ruby_add_suffix(str, suffix) char buf[1024]; if (RSTRING(str)->len > 1000) - rb_fatal("Cannot do inplace edit on long filename (%d characters)", + rb_fatal("Cannot do inplace edit on long filename (%ld characters)", RSTRING(str)->len); #if defined(DJGPP) || defined(__CYGWIN32__) || defined(NT) -- cgit v1.2.3