From: cuz Date: Thu, 14 Oct 2004 16:24:25 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~592 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8af1d395dfb62f859f34cad4b1960f95d4a25776;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@3243 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/co65/o65.c b/src/co65/o65.c index 3ab50c132..a30b18d00 100644 --- a/src/co65/o65.c +++ b/src/co65/o65.c @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 2002-2003 Ullrich von Bassewitz */ +/* (C) 2002-2004 Ullrich von Bassewitz */ /* Römerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ @@ -88,8 +88,8 @@ static unsigned long ReadO65Size (FILE* F, const O65Header* H) { unsigned long Size = 0; /* Initialize to avoid warnings */ switch (H->mode & O65_SIZE_MASK) { - case O65_SIZE_32BIT: Size = Read32 (F); - case O65_SIZE_16BIT: Size = Read16 (F); + case O65_SIZE_32BIT: Size = Read32 (F); break; + case O65_SIZE_16BIT: Size = Read16 (F); break; default: Internal ("Invalid size field value in o65 header"); } return Size;