The important part, is that the outer diameter (technically, circumference) of all 4 tires match. Changing wheel size is no big deal.
For anyone's future reference. Tire sizes can vary from one manufacturer to another, so it's very difficult to match the circumference from one to another. It would be possible to measure the circumference (not the diameter, 3/32 difference in tread depth can translate to ~1/2" circumference). BUT, to be accurate it should be mounted on the same-width wheel and inflated when measuring. By the time you mount and measure enough tires to find a good match, you could have just bought the right one (or a new set).