Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!rphroy!caen!uwm.edu!rutgers!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.lang.c Subject: Re: One more point regarding = and == (more flamage) Message-ID: <29444:Mar3120:23:3491@kramden.acf.nyu.edu> Date: 31 Mar 91 20:23:34 GMT References: <11563@dog.ee.lbl.gov> <3555@inews.intel.com> <3465@litchi.bbn.com> Organization: IR Lines: 8 In article <3465@litchi.bbn.com> rsalz@bbn.com (Rich Salz) writes: > In <3555@inews.intel.com> bhoughto@hopi.intel.com (Blair P. Houghton) writes: > >toupper.c: while ( (int) (c = getchar()) != EOF ) > The cast implies that c is char. If so, this line is buggy. Maybe it's long? :-) ---Dan