From: Jim Meyering Date: Sun, 30 Nov 1997 10:24:45 +0000 (+0000) Subject: (, UINT_MAX, UINT_MAX): Remove; now X-Git-Tag: TEXTUTILS-1_22c~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0f411474da3c368558be98b06daafc7c8a4f50be;p=thirdparty%2Fcoreutils.git (, UINT_MAX, UINT_MAX): Remove; now done by system.h. --- diff --git a/src/chgrp.c b/src/chgrp.c index e948fc76e2..4d8b3c2dba 100644 --- a/src/chgrp.c +++ b/src/chgrp.c @@ -23,18 +23,6 @@ #include #include -#if HAVE_LIMITS_H -# include -#endif - -#ifndef UINT_MAX -# define UINT_MAX ((unsigned int) ~(unsigned int) 0) -#endif - -#ifndef INT_MAX -# define INT_MAX ((int) (UINT_MAX >> 1)) -#endif - #include "system.h" #include "xstrtoul.h" #include "error.h" @@ -255,7 +243,7 @@ change_dir_group (const char *dir, int group, const struct stat *statp) int errors = 0; errno = 0; - name_space = savedir (dir, statp->st_size); + name_space = savedir (dir, (unsigned int) statp->st_size); if (name_space == NULL) { if (errno)