diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2024-09-30 11:31:56 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2024-09-30 11:31:56 -0300 |
| commit | 660146b57ad48f40ca4ea845cc8538500a8d4759 (patch) | |
| tree | 30a13c14ea1056e6857629e1180cabb59f747a86 /doc/developer/conf.py | |
| parent | 8b1b5315c319240a6a5db2f163b7b063def89b5c (diff) | |
lib: fix calloc warning on recent compiler
Fix the following compiler warning:
```
lib/elf_py.c: In function _elffile_load_:
lib/elf_py.c:1310:34: warning: _calloc_ sizes specified with _sizeof_ in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
1310 | w->sects = calloc(sizeof(PyObject *), w->ehdr->e_shnum);
| ^~~~~~~~
lib/elf_py.c:1310:34: note: earlier argument should specify number of elements, later size of each element
```
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'doc/developer/conf.py')
0 files changed, 0 insertions, 0 deletions
