From: Jim Meyering Date: Wed, 27 Nov 1996 05:05:52 +0000 (+0000) Subject: (fraccompare): Add explicit `int' in `register' dcl, to X-Git-Tag: TEXTUTILS-1_19q~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=952a4436eb75134f99105806e78155c7695387bb;p=thirdparty%2Fcoreutils.git (fraccompare): Add explicit `int' in `register' dcl, to avoid new warning from gcc. --- diff --git a/src/sort.c b/src/sort.c index 48758e058d..d9b718c1fa 100644 --- a/src/sort.c +++ b/src/sort.c @@ -762,7 +762,8 @@ findlines (struct buffer *buf, struct lines *lines) static int fraccompare (register const char *a, register const char *b) { - register tmpa = UCHAR (*a), tmpb = UCHAR (*b); + register int tmpa = UCHAR (*a); + register int tmpb = UCHAR (*b); if (tmpa == '.' && tmpb == '.') {