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:
Nick Clifton 2017-01-10 11:45:12 +00:00
parent 07e8e62387
commit b972a0d61a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2017-01-10 Nick Clifton <nickc@redhat.com>
PR 21034
* stabs.c (parse_stab_members): Fix thinko checking for g++
version 1 stabs information.
2017-01-09 Nick Clifton <nickc@redhat.com>
* objdump.c (display_file): Add new parameter 'last_file'. If

View File

@ -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;