mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	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
This commit is contained in:
		
							parent
							
								
									dee91b534a
								
							
						
					
					
						commit
						6944271c0d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue