Fix compile time warning about pointer comparison.
PR 21034 * stabs.c (parse_stab_members): Fix thinko checking for g++ version 1 stabs information.
This commit is contained in:
parent
07e8e62387
commit
b972a0d61a
2 changed files with 7 additions and 1 deletions
|
@ -2702,7 +2702,7 @@ parse_stab_members (void *dhandle, struct stab_handle *info,
|
|||
++*pp;
|
||||
voffset &= 0x7fffffff;
|
||||
|
||||
if (**pp == ';' || *pp == '\0')
|
||||
if (**pp == ';' || **pp == '\0')
|
||||
{
|
||||
/* Must be g++ version 1. */
|
||||
context = DEBUG_TYPE_NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue