openssh-unix-dev Digest, Vol 100, Issue 3

Alan Barrett apb at cequrux.com
Thu Aug 18 04:09:36 EST 2011


On Wed, 17 Aug 2011, Loganaden Velvindron wrote:
>I also get warnings during make.
>
>fmt_scaled.c: In function 'scan_scaled':
>fmt_scaled.c:84: warning: array subscript has type 'char'

This warning, along with many others like it, is due to calling 
the ctype(3) functions with a (char) argument.  You should cast 
to (unsigned char).  I sent a patch relative to an openssh-5.6 
preprelease on 12 August 2010, but it was ignored.

--apb (Alan Barrett)


More information about the openssh-unix-dev mailing list