Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!gatech!ut-sally!utastro!nather From: nather@utastro.UUCP (Ed Nather) Newsgroups: net.lang.c Subject: Re: type cast in initializer Message-ID: <354@utastro.UUCP> Date: Tue, 11-Feb-86 09:50:12 EST Article-I.D.: utastro.354 Posted: Tue Feb 11 09:50:12 1986 Date-Received: Wed, 12-Feb-86 20:35:43 EST References: <302@hsi.UUCP> <1450@bbncc5.UUCP> <305@cray.UUCP> <269@spp3.UUCP> <792@brl-smoke.ARPA> Organization: U. Texas, Astronomy, Austin, TX Lines: 12 In article <792@brl-smoke.ARPA>, gwyn@brl-smoke.ARPA (Doug Gwyn ) writes: > C note of the day: 'x' is of type (int), not (char). *sigh* -- thanks, Doug. I just found that out yesterday, the hard way. The values of '\377' and -1 are one and the same without a type cast. Now, if I'd just read the news, instead of debugging ... -- Ed Nather Astronomy Dept, U of Texas @ Austin {allegra,ihnp4}!{noao,ut-sally}!utastro!nather nather@astro.UTEXAS.EDU