X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/1336e4146079b92460fcfd67cbec5ed8ad7bdafa..384958ed3dcd18e8ec7cf2e5a6142812f14229d8:/tls.c diff --git a/tls.c b/tls.c index 93a8e1a5..d02a7a4c 100644 --- a/tls.c +++ b/tls.c @@ -84,7 +84,8 @@ static void list_file (const char *fname) buf.st_mtime = (time_t)0; buf.st_uid = buf.st_gid = 0; strcpy(linkbuf, " -> "); - readlink(fname, linkbuf+4, sizeof(linkbuf) - 4); + /* const-cast required for silly UNICOS headers */ + readlink((char *) fname, linkbuf+4, sizeof(linkbuf) - 4); } else { linkbuf[0] = 0; }