Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.lang.c
Subject: Re: "do ... while ((NULL + 1) - 1);" -- valid C?
Message-ID: <10776@smoke.BRL.MIL>
Date: 18 Aug 89 21:52:53 GMT
References: <1043@levels.sait.edu.au> <961@virtech.UUCP> <10684@smoke.BRL.MIL> <940@lakesys.UUCP> <18996@mimsy.UUCP> <597@targon.UUCP>
Reply-To: gwyn@brl.arpa (Doug Gwyn)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 5

In article <597@targon.UUCP> ruud@targon.UUCP (Ruud Harmsen) writes:
>Is a "ip = cp" guaranteed safe under these conditions, so can I ignore
>the compiler-warning?

If you use a cast it is.