Re: PATCH: Problem union comparision in TUI

Andrew STUBBS
2005-10-24T10:28:01Z

Eli Zaretskii wrote:
> Why didn't you test l.loa to be LOA_ADDRESS before comparing the
> addresses?

In theory it must be na address if it isn't a line. If it wasn't an
address then what should the code do? An assert should fix this, same as
the other issues.

I'll figure out how to use gdb_assert and post another patch later.

Thanks

Andrew