From f1622c195da92aaaa0200d3afcf44f58c0cf29d9 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 22 Jul 2007 05:33:54 +0000 Subject: * file.c (rb_file_s_rename): deleted code to get rid of a bug of old Cygwin. * file.c (rb_file_truncate): added prototype of GetLastError() on cygwin. [ruby-dev:31239] * include/ruby/intern.h (is_ruby_native_thread): prototype. * missing/strftime.c (strftime): fix printf format and actual arguments. * ext/Win32API/Win32API.c (Win32API_initialize): ditto. * ext/tk/tcltklib.c (ip_finalize): ditto. * ext/win32ole/win32ole.c (lcid_installed): ditto. * ext/socket/getnameinfo.c: include stdio.h always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/Win32API/Win32API.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/Win32API/Win32API.c') diff --git a/ext/Win32API/Win32API.c b/ext/Win32API/Win32API.c index 9a2de01f2d..766058d1aa 100644 --- a/ext/Win32API/Win32API.c +++ b/ext/Win32API/Win32API.c @@ -108,7 +108,7 @@ Win32API_initialize(self, dllname, proc, import, export) } if (16 < RARRAY_LEN(a_import)) { - rb_raise(rb_eRuntimeError, "too many parameters: %d\n", RARRAY_LEN(a_import)); + rb_raise(rb_eRuntimeError, "too many parameters: %ld\n", RARRAY_LEN(a_import)); } rb_iv_set(self, "__import__", a_import); -- cgit v1.2.3