]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 9 Nov 2003 12:11:42 +0000 (12:11 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 9 Nov 2003 12:11:42 +0000 (12:11 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2625 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ld65/exports.c

index 7aafb72b3113008fd831b8d2bc6d8e182004e722..e8d513b6dc2afe6af156f233191677edcf2f7c5c 100644 (file)
@@ -538,7 +538,7 @@ static void CheckSymType (const Export* E)
                Warning ("Type mismatch for `%s', export in "
                         "%s(%lu), import in %s(%lu)",
                         GetString (E->Name),
-                         GetSourceFileName (E->Obj, Imp->Pos.Name),
+                         GetSourceFileName (E->Obj, E->Pos.Name),
                         E->Pos.Line,
                          GetSourceFileName (Imp->Obj, Imp->Pos.Name),
                         Imp->Pos.Line);