If what you said was a slip of the tongue and you did not intend to do that, then it does not affect anything, because the Prophet (blessings and peace of Allah be upon him) said: Actions are but by intentions, and each person will have but that which he intended.
Narrated by al-Bukhaari (1) and Muslim (1907).
If your intention was to enter ihram for Umrah and remain in ihram until Hajj, but you made a mistake and said, I am entering ihram for Hajj and will remain in ihram for Umrah, or something of that nature, it does not affect anything, because what matters is what was in the heart and if a person makes a slip of the tongue and says something different than what he intended, that does not affect anything. And Allah is the source of strength. End quote.
Reproduced from Islam QA