diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-07-18 00:55:12 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-07-18 00:55:12 +0000 |
commit | 2fdf9324d96287ba693d8206db8a44f244cdd76d (patch) | |
tree | 5ac8eb6ad70b74520448597f4e99a0d87b5648c6 /usr.bin | |
parent | de835564ed4e79d7bad27ce417afdf7fa6f1d670 (diff) |
let it compile without any warnings
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c index ee0ac071ffe..1e14ea9bd2a 100644 --- a/usr.bin/cvs/file.c +++ b/usr.bin/cvs/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.96 2005/07/15 13:10:56 joris Exp $ */ +/* $OpenBSD: file.c,v 1.97 2005/07/18 00:55:11 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -391,7 +391,7 @@ cvs_file_get(const char *path, int flags, int (*cb)(CVSFILE *, void *), { char *files[1]; - files[0] = path; + files[0] = *(char * const *)path; return cvs_file_getspec(files, 1, flags, cb, arg); } |