From Josef Ezra <jezra@emc.com>:
* tracepoint.c (stringify_collection_list): Correct pointer arithmetic.
This commit is contained in:
parent
7ed0fe6656
commit
3ffbc0a500
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||
|
||||
Suggested by Vladimir Prus <ghost@cs.msu.su>:
|
||||
|
|
|
@ -1443,7 +1443,7 @@ stringify_collection_list (struct collection_list *list, char *string)
|
|||
(long) (list->list[i].end - list->list[i].start));
|
||||
|
||||
count += strlen (end);
|
||||
end += count;
|
||||
end = temp_buf + count;
|
||||
}
|
||||
|
||||
for (i = 0; i < list->next_aexpr_elt; i++)
|
||||
|
|
Loading…
Reference in a new issue