don't use llrint on already-integral variables

This could trick people into thinking that there is a floating-point
type hiding behind the typedef instead of an integer.