Use proper C arithmetic types in shadow_t

Signed-off-by: Mike McClurg <mike.mcclurg@gmail.com>