aboutsummaryrefslogtreecommitdiff
path: root/gas/stabs.c
diff options
context:
space:
mode:
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 c489af0..8d54f73 100644
--- a/gas/stabs.c
+++ b/gas/stabs.c
@@ -545,7 +545,7 @@ generate_asm_file (int type, const char *file)
while (tmp < file_endp)
{
- char *bslash = strchr (tmp, '\\');
+ const char *bslash = strchr (tmp, '\\');
size_t len = (bslash) ? (size_t) (bslash - tmp + 1) : strlen (tmp);
/* Double all backslashes, since demand_copy_C_string (used by