I'm not sure if the OS will affect the warranty or not (i believe warranty's are only for hardware) but if you are more comfortable with XP then go ahead and do it. But if you also like to learn new things, then go ahead with Vista (unless you have a lot of programs and hardware only compatible with XP, then I'd say stick with XP)
It's up to you pretty much, based on your preference.