aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/call.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/call.c')
-rw-r--r--gcc/cp/call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index ed97bcb..947151e 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -2513,7 +2513,7 @@ print_z_candidates (struct z_candidate *candidates)
size_t len = gcc_gettext_width (str) + 1;
char *spaces = alloca (len);
memset (spaces, ' ', len-1);
- spaces[len] = '\0';
+ spaces[len - 1] = '\0';
candidates = candidates->next;
do