Fix clang error about incompatible assignment in simg2simg.cpp
Change-Id: Ibb5c9431e51525c083e2981979e831d7f0b8ea1d
This commit is contained in:
parent
7e17f702e4
commit
9cc8a29e33
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue