Merge "Fix clang error about incompatible assignment in simg2simg.cpp"

This commit is contained in:
Treehugger Robot 2022-11-11 17:33:25 +00:00 committed by Gerrit Code Review
commit e231eed81c

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);