summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/annotate.c
diff options
context:
space:
mode:
authorfcambus <fcambus@openbsd.org>2016-10-12 11:11:56 +0000
committerfcambus <fcambus@openbsd.org>2016-10-12 11:11:56 +0000
commitfd858170cd8b4871d70f967769bd15e7a6e5e521 (patch)
tree19417ab508df271767f8ec797160fead7b18b663 /usr.bin/cvs/annotate.c
parentThe error case checks for saved_errno, set it accordingly (diff)
downloadwireguard-openbsd-fd858170cd8b4871d70f967769bd15e7a6e5e521.tar.xz
wireguard-openbsd-fd858170cd8b4871d70f967769bd15e7a6e5e521.zip
Use the correct type for p. From Joris Vink.
OK tb@
Diffstat (limited to 'usr.bin/cvs/annotate.c')
-rw-r--r--usr.bin/cvs/annotate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/annotate.c b/usr.bin/cvs/annotate.c
index 07b5eb7bc29..a2727c6388d 100644
--- a/usr.bin/cvs/annotate.c
+++ b/usr.bin/cvs/annotate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: annotate.c,v 1.65 2015/11/05 09:48:21 nicm Exp $ */
+/* $OpenBSD: annotate.c,v 1.66 2016/10/12 11:11:56 fcambus Exp $ */
/*
* Copyright (c) 2007 Tobias Stoeckmann <tobias@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -155,7 +155,8 @@ void
cvs_annotate_local(struct cvs_file *cf)
{
int i;
- char date[10], rnum[13], *p;
+ u_char *p;
+ char date[10], rnum[13];
RCSNUM *bnum, *rev;
struct rcs_line *line;
struct rcs_line **alines;