From a77d64af7813dad3dad148a9974e0ec7b80d1f43 Mon Sep 17 00:00:00 2001 From: cf46844 Date: Thu, 21 Jul 2005 13:28:08 -0700 Subject: 6269771 gcc and cmd/dd don't get along 6271004 gcc and cmd/compress don't get along 6272010 gcc and cmd/mkdir don't get along 6272024 gcc and cmd/mv don't get along 6272070 gcc and cmd/pack don't get along 6272101 gcc and cmd/pr don't get along 6272750 gcc and cmd/renice don't get along --- usr/src/cmd/compress/compress.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'usr/src/cmd/compress/compress.c') diff --git a/usr/src/cmd/compress/compress.c b/usr/src/cmd/compress/compress.c index ddbe8c8922..53f505d84d 100644 --- a/usr/src/cmd/compress/compress.c +++ b/usr/src/cmd/compress/compress.c @@ -1,3 +1,8 @@ +/* + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. + */ + /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ @@ -8,11 +13,6 @@ * specifies the terms and conditions for redistribution. */ -/* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - #pragma ident "%Z%%M% %I% %E% SMI" /* @@ -1754,10 +1754,10 @@ cl_block(count_long in_count) /* table clear for block compress */ #endif /* DEBUG */ /* shift will overflow */ - if ((count_long)in_count > (count_long)0x007fffffffffffff) { + if ((count_long)in_count > 0x007fffffffffffffLL) { rat = (count_long)bytes_out >> 8; if (rat == 0) { /* Don't divide by zero */ - rat = 0x7fffffffffffffff; + rat = 0x7fffffffffffffffLL; } else { rat = (count_long)in_count / (count_long)rat; } -- cgit v1.2.3