vendor/scs/test/run_from_file.c in scs-0.3.1 vs vendor/scs/test/run_from_file.c in scs-0.3.2
- old
+ new
@@ -68,10 +68,10 @@
scs_printf("Unrecognized setting %s\n", argv[i]);
SCS(free_data)(d, k, stgs);
return -1;
}
}
- sol = scs_calloc(1, sizeof(ScsSolution));
+ sol = (ScsSolution *)scs_calloc(1, sizeof(ScsSolution));
scs(d, k, stgs, sol, &info);
SCS(free_data)(d, k, stgs);
SCS(free_sol)(sol);
return 0;
}