Update lib/dalli/ring.rb

Removing another C warning ( implicit conversion long to int )