Cast to right type in dictNext().
Cast to right type in dictNext().

This closes issue #1929, the other part was fixed in the context of issue

JackieXie168/redis,JackieXie168/redis,JackieXie168/redis,JackieXie168/redis