wal: cut(i uint64) -> cut

/cc @philips @jonboulle @unihorn 
done