summaryrefslogtreecommitdiffstats
path: root/mbbsd/cache.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-16 04:00:22 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-16 04:00:22 +0800
commitd10177be1eb9a86b468387498fe81e979e1638cb (patch)
tree9259b7fdf8b44b9de200ce4c3293b0ec1589566e /mbbsd/cache.c
parent92d9627bb03259894236d22f3eaebd3a487a536a (diff)
downloadpttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.tar
pttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.tar.gz
pttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.tar.bz2
pttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.tar.lz
pttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.tar.xz
pttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.tar.zst
pttbbs-d10177be1eb9a86b468387498fe81e979e1638cb.zip
no warning
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@112 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r--mbbsd/cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index 7f8845c9..b7f58866 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -1,4 +1,4 @@
-/* $Id: cache.c,v 1.13 2002/04/15 19:56:53 in2 Exp $ */
+/* $Id: cache.c,v 1.14 2002/04/15 20:00:22 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -1046,7 +1046,7 @@ int updatemdcache(const char *CPATH, const char *fpath)
if( CPATH == NULL )
cachepath(cpath = buf, fpath);
else
- cpath = CPATH;
+ cpath = (char *)CPATH;
if( (sourcefd = open(fpath, O_RDONLY)) < 0 )
return -1;
if( (targetfd = open(cpath, O_RDWR | O_CREAT, 0600)) < 0 )