From: borutr Date: Fri, 23 Jan 2009 20:12:27 +0000 (+0000) Subject: * as/link/lkar.h: changed type of ar_size to size_t to make it work on X-Git-Url: https://git.gag.com/?p=fw%2Fsdcc;a=commitdiff_plain;h=6bb584ae046bca1cbb5b3863e45b96274ceec44a * as/link/lkar.h: changed type of ar_size to size_t to make it work on ppc Mac OS X (off_t is 64 bit and is not converted to 32 bit unsigned int when calling new(), since asxxxx doesn't use function prototypes) git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5347 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index d910cca2..82d96ade 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-01-23 Borut Razem + + * as/link/lkar.h: changed type of ar_size to size_t to make it work on + ppc Mac OS X (off_t is 64 bit and is not converted to 32 bit + unsigned int when calling new(), since asxxxx doesn't use function + prototypes) + 2009-01-21 Borut Razem * as/link/lkar.h: sgetl and sputl are independent of endianness diff --git a/as/link/lkar.h b/as/link/lkar.h index e63dacbe..748c7f44 100644 --- a/as/link/lkar.h +++ b/as/link/lkar.h @@ -75,7 +75,7 @@ struct ar_hdr /* archive member header */ uid_t ar_uid; /* archive member user identification */ gid_t ar_gid; /* archive member group identification */ mode_t ar_mode; /* archive member mode (octal) */ - off_t ar_size; /* archive member size */ + size_t ar_size; /* archive member size */ }; #endif /* __LKAR_H */