Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addressing: /home/jcerny/work/git/openscap/src/source/bz2.c: In function ‘bz2_mem_open’: /home/jcerny/work/git/openscap/src/source/bz2.c:127:43: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 127 | struct bz2_mem *b = calloc(sizeof(struct bz2_mem), 1); | ^~~~~~ /home/jcerny/work/git/openscap/src/source/bz2.c:127:43: note: earlier argument should specify number of elements, later size of each element /home/jcerny/work/git/openscap/src/source/bz2.c:128:35: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 128 | b->stream = calloc(sizeof(bz_stream), 1); | ^~~~~~~~~ /home/jcerny/work/git/openscap/src/source/bz2.c:128:35: note: earlier argument should specify number of elements, later size of each element
- Loading branch information