diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2004-12-28 22:07:32 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2004-12-28 22:07:32 +0000 |
commit | 4e66bfd7f9da480666e5aba0c783d765db43786d (patch) | |
tree | b1713257f0412ba78aadd256a428960c96fbb971 | |
parent | a99b6473b290b3f5071b40736b350e932234c570 (diff) |
remove signedness warnings; jfb ok
-rw-r--r-- | usr.bin/cvs/diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c index d2e3bb15853..2b0c3c940da 100644 --- a/usr.bin/cvs/diff.c +++ b/usr.bin/cvs/diff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diff.c,v 1.15 2004/12/28 20:39:15 jfb Exp $ */ +/* $OpenBSD: diff.c,v 1.16 2004/12/28 22:07:31 xsa Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. * All rights reserved. @@ -749,7 +749,7 @@ prepare(int i, FILE *fd, off_t filesize) rewind(fd); - sz = (filesize <= SIZE_MAX ? filesize : SIZE_MAX) / 25; + sz = ((size_t)filesize <= SIZE_MAX ? (size_t)filesize : SIZE_MAX) / 25; if (sz < 100) sz = 100; |