1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00

Fixed a problem with debug symbol ids. Invalid ids were written to the file

because of a wrong check.


git-svn-id: svn://svn.cc65.org/cc65/trunk@5430 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2012-01-31 20:44:27 +00:00
parent 0c69d4866c
commit b6276e75f3

View File

@ -6,7 +6,7 @@
/* */
/* */
/* */
/* (C) 2000-2011, Ullrich von Bassewitz */
/* (C) 2000-2012, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
@ -503,7 +503,7 @@ void WriteHLLDbgSyms (void)
/* Remember if the symbol has debug info attached
* ### This should go into DbgInfoCheck
*/
if (S->Sym && S->Sym->DebugSymId) {
if (S->Sym && S->Sym->DebugSymId != ~0U) {
S->Flags |= HLL_DATA_SYM;
}