]> git.sur5r.net Git - cc65/commitdiff
Use correct syntax. The old did work but wasn't really right.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 18 Aug 2011 11:57:57 +0000 (11:57 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 18 Aug 2011 11:57:57 +0000 (11:57 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5207 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ld65/lineinfo.c

index d56bfc3bd58c5d62f46485391ee716e3369354ae..1320c24efec7e4f3578a0e1f291e41aefb26c704 100644 (file)
@@ -62,7 +62,7 @@ static LineInfo* NewLineInfo (void)
 
     /* Initialize the fields */
     LI->File       = 0;
-    LI->Type       = LI_TYPE_ASM;
+    LI->Type       = LI_MAKE_TYPE (LI_TYPE_ASM, 0);
     LI->Pos.Name   = INVALID_STRING_ID;
     LI->Pos.Line   = 0;
     LI->Pos.Col    = 0;