take a change from xlockmore 5.55 to make it build with llvm 6.0.0

ok matthieu@
This commit is contained in:
jsg 2018-03-16 00:43:32 +00:00
parent 55401507ab
commit c2b80944a9

View File

@ -90,7 +90,10 @@ void printSpline(FILE *fp, TwoJetVec v00, TwoJetVec v01,
print_point(fp, v11, 1, 0, 0, 0, binary);
if (binary) {
float sts[8] = {s0,t0, s1,t0, s0,t1, s1,t1};
float sts[8] = {(float) s0, (float) t0,
(float) s1, (float) t0,
(float) s0, (float) t1,
(float) s1, (float) t1};
(void) fwrite(&sts, sizeof(float), 8, fp);
} else {
(void) fprintf(fp, "%g %g %g %g %g %g %g %g\n\n",