diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-05 10:53:16 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-05 10:53:16 +0000 |
commit | cce3aa754b9c69741f664b517cbbf97a6397960b (patch) | |
tree | 2417b21d6ae871574fed4210510189036fe3e5e0 /ext/date | |
parent | 685af965fdfe99293f8fd5e06dbada1640543099 (diff) | |
download | ruby-cce3aa754b9c69741f664b517cbbf97a6397960b.tar.gz |
* ext/date/date_core.c (d_lite_cmp): should compare with #<.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45520 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 372f7bfd36..1685d15e61 100644 --- a/ext/date/date_core.c +++ b/ext/date/date_core.c @@ -6283,7 +6283,7 @@ d_lite_cmp(VALUE self, VALUE other) return INT2FIX(1); } } - else if (a_nth < b_nth) { + else if (f_lt_p(a_nth, b_nth)) { return INT2FIX(-1); } else { |