On Thu, Mar 22, 2012 at 01:31:41AM +0000, Christos Zoulas wrote: > In article <20120322003141.gb1...@britannica.bec.de>, > Joerg Sonnenberger <jo...@britannica.bec.de> wrote: > >On Wed, Mar 21, 2012 at 10:20:47AM -0400, Christos Zoulas wrote: > >> Module Name: src > >> Committed By: christos > >> Date: Wed Mar 21 14:20:47 UTC 2012 > >> > >> Modified Files: > >> src/lib/libc/stdio: vfwprintf.c > >> > >> Log Message: > >> unsigned char portability casts > > > >This looks wrong. What's the point of it? > > What's is wrong with it?
It should be unnecessary. CHAR_MAX is certainly required to fit into both char and unsigned char. Joerg