From: cuz Date: Sun, 9 Nov 2003 12:11:42 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~1175 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=18fb938f488820cc770f16a08a3f1b4d9939f640;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@2625 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ld65/exports.c b/src/ld65/exports.c index 7aafb72b3..e8d513b6d 100644 --- a/src/ld65/exports.c +++ b/src/ld65/exports.c @@ -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);