Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
@jeremyevans jeremyevans authored BanzaiMan committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  cext/src/include/ruby/ruby.h
View
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) {}
Please sign in to comment.
Something went wrong with that request. Please try again.