Fix clang error about incompatible assignment in simg2simg.cpp

Change-Id: Ibb5c9431e51525c083e2981979e831d7f0b8ea1d
This commit is contained in:
rapperskull 2022-11-10 20:38:34 +01:00
parent 7e17f702e4
commit 9cc8a29e33

View file

@ -72,7 +72,7 @@ int main(int argc, char* argv[]) {
exit(-1);
}
out_s = calloc(sizeof(struct sparse_file*), files);
out_s = (struct sparse_file**)calloc(sizeof(struct sparse_file*), files);
if (!out_s) {
fprintf(stderr, "Failed to allocate sparse file array\n");
exit(-1);