diff options
author | 2016-10-12 11:11:56 +0000 | |
---|---|---|
committer | 2016-10-12 11:11:56 +0000 | |
commit | fd858170cd8b4871d70f967769bd15e7a6e5e521 (patch) | |
tree | 19417ab508df271767f8ec797160fead7b18b663 /usr.bin/cvs/annotate.c | |
parent | The error case checks for saved_errno, set it accordingly (diff) | |
download | wireguard-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.c | 5 |
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; |