Homeless man could face 7 years in prison for shortchanging