On Sun, Feb 18, 2007 at 10:58:27PM -0800, Angus Leeming wrote: > Lars Gullik Bjønnes wrote: > >[EMAIL PROTECTED] writes: > > > >| Author: baum > >| Date: Wed Jan 24 15:01:34 2007 > >| New Revision: 16833 > >| > >| URL: http://www.lyx.org/trac/changeset/16833 > >| Log: > >| We use char_type, not size_t for storing UCS4 characters. > >| This may make a difference when char_type is signed. > > > >When is char_type signed? > > http://www.network-theory.co.uk/docs/gccintro/gccintro_71.html
Bad example. It assumes 8 bit char types. Testing ((char) -1) > 0 would have been more appropriate. Andre'