summaryrefslogtreecommitdiff
path: root/src/pr.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-01-14 19:17:39 +0000
committerPádraig Brady <P@draigBrady.com>2009-01-16 11:06:09 +0000
commit46d6df933ec6171fcfa0220dfb8f18f68293797b (patch)
tree77388a86324cecd5f76700dbec57803a7bffa847 /src/pr.c
parent7b1967351c80c56abc5b8c6c4a66ffba80050c5c (diff)
downloadcoreutils-46d6df933ec6171fcfa0220dfb8f18f68293797b.tar.xz
simplify mgetgroups() and avoid -Wsign-compare warnings
* gl/lib/mgetgroups.c: Avoid -Wsign-compare warning by using unsigned types for the parameters of the new function realloc_groupbuf(). mgetgroups() was refactored to use this function rather than explicitly allocating and copying from automatic storage itself. * src/group-list.c: Use int rather than size_t as variable is used in signed comparisons. * src/id.c: ditto.
Diffstat (limited to 'src/pr.c')
0 files changed, 0 insertions, 0 deletions