diff options
Diffstat (limited to 'bfd/tekhex.c')
-rw-r--r-- | bfd/tekhex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/tekhex.c b/bfd/tekhex.c index 9444117..94b4773 100644 --- a/bfd/tekhex.c +++ b/bfd/tekhex.c @@ -288,7 +288,7 @@ getvalue (char **srcp, bfd_vma *valuep, char * endp) *srcp = src; *valuep = value; - return len == 0; + return len == -1U; } static bfd_boolean @@ -309,7 +309,7 @@ getsym (char *dstp, char **srcp, unsigned int *lenp, char * endp) dstp[i] = 0; *srcp = src + i; *lenp = len; - return TRUE; + return i == len; } static struct data_struct * |