Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!mit-eddie!uw-beaver!fluke!ssc-vax!coy From: coy@ssc-vax.UUCP (Stephen B Coy) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: `C' type question... Summary: 'C` type answer Message-ID: <3437@ssc-vax.UUCP> Date: 10 Jul 90 16:13:23 GMT References: <26854@netnews.upenn.edu> Distribution: usa Organization: Boeing Aerospace & Electronics, Seattle WA Lines: 14 In article <26854@netnews.upenn.edu>, weisen@eniac.seas.upenn.edu (Neil Weisenfeld) writes: > *mem++=(*str)?(*str++):ACTUAL_SPACE; > > The *mem++= line gets the error. Since everything is a char, I'm not > sure what the problem is. K&R Classic p. 39 "...every char in an expression is automatically converted to and int." Casting ACTUAL_SPACE to char should clear up the warning. Stephen Coy uw-beaver!ssc-vax!coy Brain dead is forever.