They're just one year apart.
You can see the calculation of Ned Stark's birth at A Wiki of Ice and Fire:
Eddard Stark is thirty-five years old in 298 AC. [...] In addition, Eddard Stark is known to have been eighteen years old in 281 AC, the Year of the False Spring, giving Eddard the same options as above:
seventeen turning eighteen, placing his ...