A high salt intake increases the risk of stomach ulcers. Stomach ulcers are usually caused by a bacterial bug that can irritate the stomach lining. Salt alters the properties of this bug in a way which seem to make it more likely to cause ulcers. You can read about this on the BBC website.
Remember to look at the label to see how much salt is in the food you are eating.