diff options
author | 2005-07-18 00:55:11 +0000 | |
---|---|---|
committer | 2005-07-18 00:55:11 +0000 | |
commit | b1ef7abf8dab1411d0b15a279d33e9acb7ad707e (patch) | |
tree | a246d78f6cd1ff12439e390ef1e8fa2fb39e9205 /usr.bin/cvs | |
parent | Initialize UART registers after resume, and make functions non-static. (diff) | |
download | wireguard-openbsd-b1ef7abf8dab1411d0b15a279d33e9acb7ad707e.tar.xz wireguard-openbsd-b1ef7abf8dab1411d0b15a279d33e9acb7ad707e.zip |
let it compile without any warnings
Diffstat (limited to 'usr.bin/cvs')
-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); } |