antirez/redis — pull request #2224 by advance512 (2014-12-18 12:45:53+00:00)
Title: Fix: case when SPOP with count>MAXINT, setTypeRandomElements() will get ...

...negative count argument due to signed/unsigned mismatch.

setTypeRandomElements() now returns unsigned long, and also uses unsigned long for anything related to count of members.
spopWithCountCommand() now uses unsigned long elements_returned instead of int, for values returned from setTypeRandomElements()