diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-08-14 19:49:19 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-08-14 19:49:19 +0000 |
commit | b89c8a0d48c60ed6bf4440b7b3e217d8df068f42 (patch) | |
tree | 17776d313a091a59d8adec3839de5db82044a3be /usr.bin/cvs/hist.c | |
parent | 89e22d556d6a3517beebb02c12e4a465dbb4aadf (diff) |
missing casts; ok joris
Diffstat (limited to 'usr.bin/cvs/hist.c')
-rw-r--r-- | usr.bin/cvs/hist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/hist.c b/usr.bin/cvs/hist.c index 6f28ff9e4d4..1ea5cda71f4 100644 --- a/usr.bin/cvs/hist.c +++ b/usr.bin/cvs/hist.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hist.c,v 1.9 2005/08/02 20:05:42 xsa Exp $ */ +/* $OpenBSD: hist.c,v 1.10 2005/08/14 19:49:18 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -61,7 +61,7 @@ cvs_hist_open(const char *path) } memset(histp, 0, sizeof(*histp)); - histp->chf_buf = (char *)malloc(CVS_HIST_BUFSIZE); + histp->chf_buf = (char *)malloc((size_t)CVS_HIST_BUFSIZE); if (histp->chf_buf == NULL) { cvs_log(LP_ERRNO, "failed to allocate CVS history parse buffer"); |