mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
2001-06-24 Ben Elliston <bje@redhat.com>
* stabs.c (generate_asm_file): Make local variable `len' a size_t.
This commit is contained in:
parent
af3fc3bcb3
commit
37ffda1076
@ -1,3 +1,7 @@
|
||||
2001-06-24 Ben Elliston <bje@redhat.com>
|
||||
|
||||
* stabs.c (generate_asm_file): Make local variable `len' a size_t.
|
||||
|
||||
2001-06-24 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* config/tc-alpha.c (tc_gen_reloc): Handle relocs against SEC_MERGE
|
||||
|
@ -539,7 +539,7 @@ generate_asm_file (type, file)
|
||||
while (tmp < endp)
|
||||
{
|
||||
char *bslash = strchr (tmp, '\\');
|
||||
int len = (bslash ? (bslash - tmp + 1) : strlen (tmp));
|
||||
size_t len = (bslash) ? (size_t) (bslash - tmp + 1) : strlen (tmp);
|
||||
|
||||
/* Double all backslashes, since demand_copy_C_string (used by
|
||||
s_stab to extract the part in quotes) will try to replace them as
|
||||
|
Loading…
Reference in New Issue
Block a user