summaryrefslogtreecommitdiffstats
path: root/usr.sbin/zic/zic.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-09-13 03:36:16 +0000
committerwollman <wollman@FreeBSD.org>1994-09-13 03:36:16 +0000
commitb4845220d4bdbe7ed7827f48ebb56c67d73213fe (patch)
tree6f6135803803f81e86945c2eb9a45ce8a7d06529 /usr.sbin/zic/zic.c
parenteebac3c92285c77955500c227b1c5ba35cb8da7d (diff)
downloadFreeBSD-src-b4845220d4bdbe7ed7827f48ebb56c67d73213fe.zip
FreeBSD-src-b4845220d4bdbe7ed7827f48ebb56c67d73213fe.tar.gz
FreeBSD port of timezone code.
Diffstat (limited to 'usr.sbin/zic/zic.c')
-rw-r--r--usr.sbin/zic/zic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/zic/zic.c b/usr.sbin/zic/zic.c
index a0dc5f6..82539fa 100644
--- a/usr.sbin/zic/zic.c
+++ b/usr.sbin/zic/zic.c
@@ -528,14 +528,14 @@ const char * const tofile;
register char * toname;
if (fromfile[0] == '/')
- fromname = fromfile;
+ fromname = (char *)fromfile;
else {
fromname = ecpyalloc(directory);
fromname = ecatalloc(fromname, "/");
fromname = ecatalloc(fromname, fromfile);
}
if (tofile[0] == '/')
- toname = tofile;
+ toname = (char *)tofile;
else {
toname = ecpyalloc(directory);
toname = ecatalloc(toname, "/");
OpenPOWER on IntegriCloud