Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!ncifcrf!lhc!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Pointer and integer addition Message-ID: <15816@smoke.brl.mil> Date: 12 Apr 91 21:42:31 GMT References: <8334@umd5.umd.edu> <15631@smoke.brl.mil> <4205@rwthinf.UUCP> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 6 In article <4205@rwthinf.UUCP> berg@marvin.e17.physik.tu-muenchen.de (Stephen R. van den Berg) writes: >No, not needed, the cast is implicit. No, without the cast you have violated a constraint in the C standard (section 3.3.16.1 in ANS X3.159-1989) and a standard-conforming implementation is obliged to produce a diagnostic.