mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 18:20:12 +08:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user