aboutsummaryrefslogtreecommitdiff
path: root/gas/stabs.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2001-06-25 07:57:09 +0000
committerBen Elliston <bje@au.ibm.com>2001-06-25 07:57:09 +0000
commit37ffda1076b1dad37edffa64ff6363d501cf720d (patch)
tree7fd7ddf1c276ce8524f0f762c6bdd03e9716ca97 /gas/stabs.c
parentaf3fc3bcb36dd23998c22fce820ba7f1c2a024de (diff)
downloadgdb-37ffda1076b1dad37edffa64ff6363d501cf720d.zip
gdb-37ffda1076b1dad37edffa64ff6363d501cf720d.tar.gz
gdb-37ffda1076b1dad37edffa64ff6363d501cf720d.tar.bz2
2001-06-24 Ben Elliston <bje@redhat.com>
* stabs.c (generate_asm_file): Make local variable `len' a size_t.
Diffstat (limited to 'gas/stabs.c')
-rw-r--r--gas/stabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/stabs.c b/gas/stabs.c
index eed11b3..2a07f22 100644
--- a/gas/stabs.c
+++ b/gas/stabs.c
@@ -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