From Josef Ezra <jezra@emc.com>:

* tracepoint.c (stringify_collection_list): Correct pointer
	arithmetic.
This commit is contained in:
Daniel Jacobowitz 2005-08-01 03:41:34 +00:00
parent 7ed0fe6656
commit 3ffbc0a500
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
From Josef Ezra <jezra@emc.com>:
* tracepoint.c (stringify_collection_list): Correct pointer
arithmetic.
2005-07-31 Daniel Jacobowitz <dan@codesourcery.com> 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
Suggested by Vladimir Prus <ghost@cs.msu.su>: Suggested by Vladimir Prus <ghost@cs.msu.su>:

View File

@ -1443,7 +1443,7 @@ stringify_collection_list (struct collection_list *list, char *string)
(long) (list->list[i].end - list->list[i].start)); (long) (list->list[i].end - list->list[i].start));
count += strlen (end); count += strlen (end);
end += count; end = temp_buf + count;
} }
for (i = 0; i < list->next_aexpr_elt; i++) for (i = 0; i < list->next_aexpr_elt; i++)