Date: Fri, 18 May 2012 21:46:48 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r235632 - projects/arm_eabi/usr.bin/ul Message-ID: <201205182146.q4ILkmmI082315@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Fri May 18 21:46:48 2012 New Revision: 235632 URL: http://svn.freebsd.org/changeset/base/235632 Log: Fix a signed/unsigned comparison. Modified: projects/arm_eabi/usr.bin/ul/ul.c Modified: projects/arm_eabi/usr.bin/ul/ul.c ============================================================================== --- projects/arm_eabi/usr.bin/ul/ul.c Fri May 18 21:40:17 2012 (r235631) +++ projects/arm_eabi/usr.bin/ul/ul.c Fri May 18 21:46:48 2012 (r235632) @@ -280,7 +280,7 @@ filter(FILE *f) obuf[col].c_width = w; for (i = 1; i < w; i++) obuf[col + i].c_width = -1; - } else if (obuf[col].c_char == c) { + } else if ((wint_t)obuf[col].c_char == c) { for (i = 0; i < w; i++) obuf[col + i].c_mode |= BOLD|mode; } else {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205182146.q4ILkmmI082315>