Employee was attempting to close a railcar door latch. The latch wouldn't go down to the locking position. Employee then, using heel of his foot, kicked the latch to close completely.On 5/22 employee received x-ray for foot being swolle,diagnosed with inflammation in foot.