summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-12-13 19:38:23 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-12-13 19:38:23 +0000
commitcc1ee8f39b244777651f11a0531a3a99849ca10f (patch)
treea641d46c41e157402bf2c7a52299913936bba6f4 /usr.bin/cvs
parent644a1ae3681165ac79756dd65624bb70e60bf816 (diff)
get rid of void* arithmetic to nuke another gcc warning
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c
index 670f5c20d95..3a5fa920fc4 100644
--- a/usr.bin/cvs/file.c
+++ b/usr.bin/cvs/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.42 2004/12/08 19:54:11 jfb Exp $ */
+/* $OpenBSD: file.c,v 1.43 2004/12/13 19:38:22 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -530,7 +530,7 @@ cvs_file_getdir(CVSFILE *cf, int flags)
int ret, fd;
u_int ndirs;
long base;
- void *dp, *ep;
+ u_char *dp, *ep;
char fbuf[2048], pbuf[MAXPATHLEN], fpath[MAXPATHLEN];
struct dirent *ent;
CVSFILE *cfp;