summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2004-12-09 22:07:41 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2004-12-09 22:07:41 +0000
commit18548b6bf087bf80fd5f15129f63f709d9e96879 (patch)
tree7745df8aa3f32391a83e982bf0d7530556f4db04 /usr.bin/cvs
parent96ad82c2a7eba44cb662e05b913636ce3ebefa7a (diff)
fix pointer of type `void *' used in arithmetic warning; ok jfb@.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/cvsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/cvsd.c b/usr.bin/cvs/cvsd.c
index 92871a8c793..8c53a4a86e1 100644
--- a/usr.bin/cvs/cvsd.c
+++ b/usr.bin/cvs/cvsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cvsd.c,v 1.14 2004/12/07 17:10:56 tedu Exp $ */
+/* $OpenBSD: cvsd.c,v 1.15 2004/12/09 22:07:40 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -306,7 +306,7 @@ cvsd_checkperms(const char *path)
int fd, nbwarn, ret;
mode_t fmode;
long base;
- void *dp, *endp;
+ u_char *dp, *endp;
char buf[1024], spath[MAXPATHLEN];
struct stat st;
struct dirent *dep;