Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@3243 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2004-10-14 16:24:25 +00:00
parent d204e4a1ad
commit 8af1d395df

View File

@@ -6,7 +6,7 @@
/* */ /* */
/* */ /* */
/* */ /* */
/* (C) 2002-2003 Ullrich von Bassewitz */ /* (C) 2002-2004 Ullrich von Bassewitz */
/* R<>merstrasse 52 */ /* R<>merstrasse 52 */
/* D-70794 Filderstadt */ /* D-70794 Filderstadt */
/* EMail: uz@cc65.org */ /* 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 */ unsigned long Size = 0; /* Initialize to avoid warnings */
switch (H->mode & O65_SIZE_MASK) { switch (H->mode & O65_SIZE_MASK) {
case O65_SIZE_32BIT: Size = Read32 (F); case O65_SIZE_32BIT: Size = Read32 (F); break;
case O65_SIZE_16BIT: Size = Read16 (F); case O65_SIZE_16BIT: Size = Read16 (F); break;
default: Internal ("Invalid size field value in o65 header"); default: Internal ("Invalid size field value in o65 header");
} }
return Size; return Size;