projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a098f5b
)
(fraccompare): Add explicit `int' in `register' dcl, to
author
Jim Meyering
<jim@meyering.net>
Wed, 27 Nov 1996 05:05:52 +0000
(
05:05
+0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 27 Nov 1996 05:05:52 +0000
(
05:05
+0000)
avoid new warning from gcc.
src/sort.c
patch
|
blob
|
history
diff --git
a/src/sort.c
b/src/sort.c
index
48758e0
..
d9b718c
100644
(file)
--- 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 == '.')
{