Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!caen!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: wchar_t values Message-ID: <15640@smoke.brl.mil> Date: 30 Mar 91 14:39:16 GMT References: <990@sranha.sra.co.jp> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 9 In article <990@sranha.sra.co.jp> erik@sra.co.jp (Erik M. van der Poel) writes: >Which of the following two conditions is the correct interpretation of >the ANSI C standard: > ('c' == L'c') > ('c' == ((char) L'c')) Neither one, although the first one is close. The numerical values of these two (possibly distinct) integer types shall be the same. Note, by the way, that 'c' has type int.