Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 23 May 2011 23:20:52 -0500 Message-ID: <4DDB3225.5089@mindspring.com> Date: Tue, 24 May 2011 00:20:53 -0400 From: pete Reply-To: pfiland@mindspring.com Organization: PF X-Mailer: Mozilla 3.04Gold (WinNT; I) MIME-Version: 1.0 Newsgroups: comp.lang.c Subject: Re: Types in C References: <43d4ef5f7d2b0f9-0f635@gmail.com> <9401m9Ft2pU9@mid.individual.net> <50d915539d62563-19304@gmail.com> <4DDB31B5.2795@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 18 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 4.154.219.57 X-Trace: sv3-hiZQo2w4Z+ZrTq1NjMxBHx0rNjD7LC90HmfSjt5zuV6W5kFkwCiDiQtZlg6I0Ueqpc/xCWkCI9Uq0eS!WP0ryOxGT3ubhqI1dqvrBfY/pKPbq9pd/in6gPNZMnMU9s2+MD2cparsGGQk0kk/3NPjy3prs3na!yexyALQfyA== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1808 Xref: x330-a1.tempe.blueboxinc.net comp.lang.c:4665 pete wrote: > signed char minus_one = -1; > But, if you access minus_one as an unsigned char > > unsigned char access_value = *(unsigned char *)&minus_one; > > then the value of access_value may or may not > be something different from UCHAR_MAX, > depending on the representation of ((signed char)-1). > > That's not conversions. That's not a conversion of minus_one, anyway. -- pete