Merge pull request #852 from lovmoen/master

Problem: zlist selftest is missing explicit casts and does not compile.