diff options
author | 2005-07-25 12:58:22 +0000 | |
---|---|---|
committer | 2005-07-25 12:58:22 +0000 | |
commit | e0db40b804d96bf4f11b9b532b138880f70ae8f8 (patch) | |
tree | 2822c158215db06e2af07956c131e5cc7802f113 /usr.bin/cvs/file.c | |
parent | missed that one too... (diff) | |
download | wireguard-openbsd-e0db40b804d96bf4f11b9b532b138880f70ae8f8.tar.xz wireguard-openbsd-e0db40b804d96bf4f11b9b532b138880f70ae8f8.zip |
make it compile without warnings
Diffstat (limited to 'usr.bin/cvs/file.c')
-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 c7194906efd..c51f57e4be5 100644 --- a/usr.bin/cvs/file.c +++ b/usr.bin/cvs/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.104 2005/07/25 12:05:43 xsa Exp $ */ +/* $OpenBSD: file.c,v 1.105 2005/07/25 12:58:22 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -373,7 +373,7 @@ cvs_file_get(const char *path, int flags, int (*cb)(CVSFILE *, void *), { char *files[1]; - files[0] = path; + *(const char **)files = path; return cvs_file_getspec(files, 1, flags, cb, arg, list); } |