pres is actually an int., so I changed to use "%d" and "%u" instead.