Either or will work.
In some cases you do not want to fire 556 in a gun made for 223 due to a slight difference in size (very minor). So on a 223 built very tight you may have issues with 556. But in the reverse as the 556 is on the larger dimension, 223 will work every time.