Date: Mon, 18 Feb 2008 20:01:33 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/sh mksyntax.c Message-ID: <200802182001.m1IK1XEW076018@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2008-02-18 20:01:33 UTC
FreeBSD src repository
Modified files:
bin/sh mksyntax.c
Log:
Fix "warning: comparison is always false due to limited range of data type"
on platforms with unsigned chars. The comparison in question is there to
determine whether chars are unsigned or not and is based on comparing a
char, initialized to -1, for less than 0. Change the comparison to check
for geater than 0 instead...
Revision Changes Path
1.25 +1 -4 src/bin/sh/mksyntax.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802182001.m1IK1XEW076018>
