Mercurial > illumos > illumos-gate
changeset 4335:16705ac30d11
6549515 PSARC 2007/064: uid_t and gid_t to become unsigned (fix tools build)
author | casper |
---|---|
date | Mon, 28 May 2007 05:37:31 -0700 |
parents | 3ca0f844fae0 |
children | 24fc3980be70 |
files | usr/src/tools/install.bin/install.bin.c |
diffstat | 1 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/tools/install.bin/install.bin.c Sun May 27 23:09:04 2007 -0700 +++ b/usr/src/tools/install.bin/install.bin.c Mon May 28 05:37:31 2007 -0700 @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -93,8 +92,8 @@ void chown_file(const char *file, const char *group, const char *owner) { - gid_t grp = -1; - uid_t own = -1; + gid_t grp = (gid_t)-1; + uid_t own = (uid_t)-1; if (group) { grp = stdfind(group, groupnames);