1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

Save a few bytes when writing file list entries to the object file.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4929 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2011-01-27 16:40:48 +00:00
parent b2b1edc4ab
commit 713c019a24
2 changed files with 3 additions and 3 deletions

View File

@ -265,7 +265,7 @@ void WriteFiles (void)
/* Write the fields */
ObjWriteVar (F->Name);
ObjWrite32 (F->MTime);
ObjWrite32 (F->Size);
ObjWriteVar (F->Size);
}
/* Done writing files */

View File

@ -6,7 +6,7 @@
/* */
/* */
/* */
/* (C) 2001-2010, Ullrich von Bassewitz */
/* (C) 2001-2011, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
@ -75,7 +75,7 @@ FileInfo* ReadFileInfo (FILE* F, ObjData* O)
/* Read the fields from the file */
FI->Name = MakeGlobalStringId (O, ReadVar (F));
FI->MTime = Read32 (F);
FI->Size = Read32 (F);
FI->Size = ReadVar (F);
/* Return the new struct */
return FI;