Skip to content
This repository
Browse code

Fix prototype for rb_time_new to match definition

Signed-off-by: Hiro Asari <asari.ruby@gmail.com>
  • Loading branch information...
commit 09e87fd7dcec1487731a56111ed4c4a6b48b1ba7 1 parent a0dbf11
Jeremy Evans authored BanzaiMan committed

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  cext/src/include/ruby/ruby.h
2  cext/src/include/ruby/ruby.h
@@ -1000,7 +1000,7 @@ RUBY_DLLSPEC VALUE rb_thread_local_aset(VALUE thread, ID id, VALUE value);
1000 1000
 RUBY_DLLSPEC VALUE rb_thread_local_aref(VALUE thread, ID id);
1001 1001
 RUBY_DLLSPEC VALUE rb_thread_create(VALUE (*fn)(ANYARGS), void* arg);
1002 1002
 
1003  
-RUBY_DLLSPEC VALUE rb_time_new(long sec, long usec);
  1003
+RUBY_DLLSPEC VALUE rb_time_new(time_t sec, long usec);
1004 1004
 
1005 1005
 // Fake out
1006 1006
 static inline void rb_thread_stop_timer_thread(void) {}

0 notes on commit 09e87fd

Please sign in to comment.
Something went wrong with that request. Please try again.