diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-17 01:38:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-17 01:38:04 +0000 |
commit | 6944271c0d18336376f63b3dda442a18202a4c1b (patch) | |
tree | e0b3af813830422a14730f97b8969049869cce27 /ext | |
parent | dee91b534ab661dc97f68a28d7e2aabd0e6acdfb (diff) | |
download | ruby-6944271c0d18336376f63b3dda442a18202a4c1b.tar.gz |
bug_reporter.c: suppress warnings
* ext/-test-/bug_reporter/bug_reporter.c (register_sample_bug_reporter):
cast to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/-test-/bug_reporter/bug_reporter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/bug_reporter/bug_reporter.c b/ext/-test-/bug_reporter/bug_reporter.c index 1924af4f9b..1ca9d02bc4 100644 --- a/ext/-test-/bug_reporter/bug_reporter.c +++ b/ext/-test-/bug_reporter/bug_reporter.c @@ -13,7 +13,7 @@ sample_bug_reporter(FILE *out, void *ptr) static VALUE register_sample_bug_reporter(VALUE self, VALUE obj) { - rb_bug_reporter_add(sample_bug_reporter, NUM2INT(obj)); + rb_bug_reporter_add(sample_bug_reporter, (void *)NUM2INT(obj)); return Qnil; } |