I seem to recall hearing about the orbit being slightly changed by such an encounter, but it will have no real effect on the next apparition of the comet.