From 759a63b6a3355b85e1e52b78810d66fd9ee7b838 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 27 Jul 2005 07:27:19 +0000 Subject: * parse.y (lambda): Perl6 style -> lambda expression. [NEW] [VERY EXPERIMENTAL] * gc.c (id2ref): must not assign pointers to long int. use LONG_LONG instead if SIZEOF_LONG < SIZEOF_VOIDP. [ruby-talk:149645] * ruby.h: use LONG_LONG to simplify the change. [ruby-talk:149645] * dir.c (dir_each): rewinddir(3) before iteration. [ruby-talk:149628] * eval.c (rb_f_throw): replace all '0x%lx' by '%p'. [ruby-talk:149553] * missing/vsnprintf.c (BSD_vfprintf): '%p' need to handle 64bit size pointer. [ruby-talk:149553] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'error.c') diff --git a/error.c b/error.c index 48cb00da38..059ccc9030 100644 --- a/error.c +++ b/error.c @@ -280,7 +280,7 @@ rb_check_type(x, t) } type++; } - rb_bug("unknown type 0x%x (0x%x given)", t, TYPE(x)); + rb_bug("unknown type 0x%x (%p given)", t, TYPE(x)); } } -- cgit v1.2.3