From: uz Date: Sun, 3 Jun 2012 13:39:28 +0000 (+0000) Subject: Fix output of segment sizes. It was broken after some changes to the format. X-Git-Tag: V2.14~398 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d5cf83deba3b2efd90842040dcadd419ebcc6b09;p=cc65 Fix output of segment sizes. It was broken after some changes to the format. git-svn-id: svn://svn.cc65.org/cc65/trunk@5670 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/od65/dump.c b/src/od65/dump.c index b15dac59f..cbdf0e7fe 100644 --- a/src/od65/dump.c +++ b/src/od65/dump.c @@ -924,11 +924,12 @@ void DumpObjSegSize (FILE* F, unsigned long Offset) /* Read and print the sizes of all segments */ while (Count--) { - /* Read the data for one segments */ + /* Read the data for one segment */ unsigned long DataSize = Read32 (F); unsigned long NextSeg = ftell (F) + DataSize; const char* Name = GetString (&StrPool, ReadVar (F)); unsigned Len = strlen (Name); + (void) ReadVar (F); /* Skip segment flags */ unsigned long Size = ReadVar (F); /* Skip alignment, type and fragment count */