aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/zic/zic.c
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1994-09-13 03:36:16 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1994-09-13 03:36:16 +0000
commitd787e2bcd4e23ef295334c571864bab9496c84b7 (patch)
tree6f6135803803f81e86945c2eb9a45ce8a7d06529 /usr.sbin/zic/zic.c
parent66ce0eae5331ee532409588a22b9eb4a7881e3fd (diff)
downloadsrc-d787e2bcd4e23ef295334c571864bab9496c84b7.tar.gz
src-d787e2bcd4e23ef295334c571864bab9496c84b7.zip
FreeBSD port of timezone code.
Notes
Notes: svn path=/head/; revision=2706
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 a0dc5f6bbdc3..82539faaea77 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, "/");