Browse files

Use INT2FIX instead of LONG2NUM where the argument is hard coded

If it is hard coded, you know it will fit in a Fixnum, so INT2FIX
is safe.  Many other places in the library LONG2NUM is used
where INT2FIX may also work, but I'd have to check each case to be
  • Loading branch information...
1 parent 72e958a commit ea3fa56b8f1b7b7631cd19572b3b94d94c240fa0 @jeremyevans committed Oct 18, 2010
Showing with 174 additions and 174 deletions.
  1. +174 −174 ext/date_ext/date_ext.c

0 comments on commit ea3fa56

Please sign in to comment.