diff options
| author | cf46844 <none@none> | 2005-07-21 13:28:08 -0700 |
|---|---|---|
| committer | cf46844 <none@none> | 2005-07-21 13:28:08 -0700 |
| commit | a77d64af7813dad3dad148a9974e0ec7b80d1f43 (patch) | |
| tree | 92adcc4e9a3fcab74ff8aaf3416d02180538caff /usr/src/cmd/compress/compress.c | |
| parent | 92ed17828163bd22e8650252460319b94ef9aa74 (diff) | |
| download | illumos-joyent-a77d64af7813dad3dad148a9974e0ec7b80d1f43.tar.gz | |
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
Diffstat (limited to 'usr/src/cmd/compress/compress.c')
| -rw-r--r-- | usr/src/cmd/compress/compress.c | 14 |
1 files changed, 7 insertions, 7 deletions
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; } |
