summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-01-13 21:18:56 +0000
committerRoland McGrath <roland@redhat.com>1993-01-13 21:18:56 +0000
commitf0c68224d6f92bfe0d3145155654dbf54ca29a3c (patch)
tree49b02c933650ed5571e58a77a826ff431fe37360
parentbb90ac7aef295136791c5276bcae9c912d35eacb (diff)
downloadgunmake-f0c68224d6f92bfe0d3145155654dbf54ca29a3c.tar.gz
Formerly arscan.c.~26~
-rw-r--r--arscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arscan.c b/arscan.c
index 18f182c..da76bb0 100644
--- a/arscan.c
+++ b/arscan.c
@@ -1,5 +1,5 @@
/* Library function for scanning an archive file.
- Copyright (C) 1987, 1989, 1991, 1992 Free Software Foundation, Inc.
+ Copyright (C) 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -97,7 +97,7 @@ ar_scan (archive, function, arg)
#else
#ifdef AIAMAG
{
- register int nread = read (desc, &fl_header, FL_HSZ);
+ register int nread = read (desc, (char *) &fl_header, FL_HSZ);
if (nread != FL_HSZ || bcmp (fl_header.fl_magic, AIAMAG, SAIAMAG))
{
(void) close (desc);