Use sized integer.

Signed-off-by: Kevin Cox <kevincox@kevincox.ca>
Merge pull request #2009 from kevincox/election-int

Use sized integer.

Reviewed-by: Sage Weil <sage@inktank.com>