fixed that zring tests wouldn't compile on ubuntu
Merge pull request #792 from skaes/add-missing-casts

fixed that zring tests wouldn't compile on ubuntu