Fix typecast. This fixes go1.3 compilation. Fixes #4