if you update when its available for your device, your warranty will remain intact.
If you use the Developer Preview, its a grey area. it could void it, but i think it depends - it isn't guaranteed to. AT&T didn't care that my 920 had it. (anecdotal evidence, be careful)