Skip to content
Snippets Groups Projects
Commit f2a2d0e3 authored by Amorilia's avatar Amorilia
Browse files

Alias patch (taken from qhull-2003.1-13.fc12.src.rpm).

parent 8c998784
No related branches found
No related tags found
No related merge requests found
......@@ -126,8 +126,7 @@ void qh_setaddsorted(setT **setp, void *newelem) {
*/
void qh_setappend(setT **setp, void *newelem) {
int *sizep;
void **endp;
int *sizep, end_idx;
if (!newelem)
return;
......@@ -135,8 +134,9 @@ void qh_setappend(setT **setp, void *newelem) {
qh_setlarger(setp);
sizep= SETsizeaddr_(*setp);
}
*(endp= &((*setp)->e[(*sizep)++ - 1].p))= newelem;
*(++endp)= NULL;
end_idx = (*sizep)++ - 1;
(*setp)->e[end_idx].p = newelem;
(*setp)->e[end_idx + 1].p = NULL;
} /* setappend */
/*-<a href="qh-set.htm#TOC"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment