]> git.ipfire.org Git - thirdparty/coreutils.git/commit
di-set, ino-map: adjust a type, improve readability
authorJim Meyering <meyering@redhat.com>
Wed, 7 Jul 2010 09:57:26 +0000 (11:57 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 13 Jul 2010 00:20:10 +0000 (02:20 +0200)
commitf6e8c18f8d2077ea84aef679852622c8bd73789c
tree30a1dae42ef372d0e0a67cb297babb2432c1f81d
parent335b59b9625758f92ba82cd6b7138f7423df60ef
di-set, ino-map: adjust a type, improve readability

* gl/lib/ino-map.c (ino_hash): Declare "i" as unsigned int.
Use an intermediate variable for the for-loop upper bound,
so it's a little more readable.  Adjust comment.
* gl/lib/di-set.c (di_ent_hash): Likewise.
gl/lib/di-set.c
gl/lib/ino-map.c