Index: jostle.c =================================================================== --- jostle.c (revision 28425) +++ jostle.c (revision 28426) @@ -92,7 +92,7 @@ n = pl->Count; x = (int *) malloc(n * sizeof(int)); y = (int *) malloc(n * sizeof(int)); - for (v = &pl->head; i < n; v = v->next) { + for (v = pl->head; i < n; v = v->next) { x[i] = v->point[0]; y[i++] = v->point[1]; } @@ -219,7 +219,7 @@ pcb_message(PCB_MSG_ERROR, "jostle: aiee, what side?"); return; } - v = &a->contours->head; + v = a->contours->head; do { int test = kx * v->point[0] + ky * v->point[1]; if (test < mm[0]) { @@ -232,7 +232,7 @@ mmp[1][0] = v->point[0]; mmp[1][1] = v->point[1]; } - } while ((v = v->next) != &a->contours->head); + } while ((v = v->next) != a->contours->head); Vcpy2(p, mmp[minmax]); /* add clearance in the right direction */ clearance *= 0.707123; /* = cos(45) = sqrt(2)/2 */