raft: int64 -> uint64

fix #1175
I guess it's part of the transition?