The type of the fields of `pts` can vary between `float` and `double` depending
compile time options, which is what this code was attempting to deal with. But
`float` and `double` are treated identically with respect to `printf`, so there
is no need to cast.
printf("this next prev point\n");
for (i = 0; i < cp->N; i++)
- printf("%3d %3d %3d (%f,%f)\n", i, next[i], prev[i],
- (double) pts[i].x, (double) pts[i].y);
+ printf("%3d %3d %3d (%f,%f)\n", i, next[i], prev[i], pts[i].x, pts[i].y);
printf("\n\n");