It won't mess up your chainline at all, but you may not have enough room. Spoonrobot is right, each tooth move 1/4 inch. So if you are making a two tooth differenece your wheel will move 1/2". As long as you have track ends, or horizontal drop outs you will most likely have enough room, but you may need to play around with your chain length.