diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-02-09 13:21:40 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-02-10 19:45:14 +0900 |
commit | ef59a781d7c93c5e1d0b4c8a8b408b8c880c9cc9 (patch) | |
tree | 7bc949c624908f07520d14c807ae6c3571d2784b /time.c | |
parent | 3acc81d9e41b18380b9e0168fe2b5e5e0c727256 (diff) |
Fixed the signature of find_time_numguess_getter
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4168
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3008,7 +3008,8 @@ timegm_noleapsecond(struct tm *tm) #define DEBUG_FIND_TIME_NUMGUESS_INC find_time_numguess++, static unsigned long long find_time_numguess; -static VALUE find_time_numguess_getter(void) +static VALUE +find_time_numguess_getter(ID name, VALUE *data) { return ULL2NUM(find_time_numguess); } |