]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug: Wrong variable size trucates data.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 28 Jan 2011 16:03:41 +0000 (16:03 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 28 Jan 2011 16:03:41 +0000 (16:03 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4945 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ld65/exports.c

index c8722f19e0079d50676e2e04e8368c3dd38345eb..246bd59aad2e94c916393c0da55a11549eb4a7ad 100644 (file)
@@ -343,7 +343,7 @@ Export* ReadExport (FILE* F, ObjData* O)
     Export* E;
 
     /* Read the type */
-    unsigned char Type = ReadVar (F);
+    unsigned Type = ReadVar (F);
 
     /* Read the address size */
     unsigned char AddrSize = Read8 (F);