Tyre width wont mess up your speedo surely?
Both are 40/17s which should be the same rolling radius.
nah tyres are width/%of width as profile/diameter
eg 205/40 have a profile size of 82
whereas
215/40 has a profile size of 86
however difference will be negligable in speedo reading