Skip to content
Browse files

Fix prototype for rb_time_new to match definition

Signed-off-by: Hiro Asari <>
  • Loading branch information...
1 parent a0dbf11 commit 09e87fd7dcec1487731a56111ed4c4a6b48b1ba7 @jeremyevans jeremyevans committed with BanzaiMan Feb 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);
RUBY_DLLSPEC VALUE rb_thread_local_aref(VALUE thread, ID id);
RUBY_DLLSPEC VALUE rb_thread_create(VALUE (*fn)(ANYARGS), void* arg);
-RUBY_DLLSPEC VALUE rb_time_new(long sec, long usec);
+RUBY_DLLSPEC VALUE rb_time_new(time_t sec, long usec);
// Fake out
static inline void rb_thread_stop_timer_thread(void) {}

0 comments on commit 09e87fd

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