diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-14 04:16:51 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-14 04:16:51 +0000 |
commit | 95c9c1dc1596ef435a5f395fbd1016d9d221830a (patch) | |
tree | ace81e8d6e044ae6a9729320bacabb2deb227f44 /ext/date | |
parent | 1433d4337cdfa6422d75e83ef63b8f64fc95bf6b (diff) |
* ext/bigdecimal/bigdecimal.c (BigDecimal_hash): st_index_t may not be
fixable on 64bit mswin/mingw.
* ext/date/date_core.c (d_lite_hash): ditto.
[Backport #13877]
* ext/openssl/ossl_bn.c (ossl_bn_hash): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@59879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/date')
-rw-r--r-- | ext/date/date_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c index 0a7e6f15cb..eb1d385a7b 100644 --- a/ext/date/date_core.c +++ b/ext/date/date_core.c @@ -6405,7 +6405,7 @@ d_lite_hash(VALUE self) h[2] = m_df(dat); h[3] = m_sf(dat); v = rb_memhash(h, sizeof(h)); - return LONG2FIX(v); + return LONG2FIX((long)v); } #include "date_tmx.h" |