diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2025-01-26 14:41:58 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2025-01-30 18:30:16 +0100 |
commit | 9d755ba03f6947ed0f77df8a2bcdb1b6585dabf9 (patch) | |
tree | 5e7e81936e62017d247792c76702d5a32f1af84a /jffsX-utils/sumtool.c | |
parent | 53a16db8824ee93ab066e57744cb6f7ea5ba053d (diff) |
nand-utils: nanddump: Fix unexpected type compiling warning for argument 'dumpfile'
The const pointer argument cannot be passed into libc function 'free()',
otherwise the compiler will complain following message:
nand-utils/nanddump.c:168:10: warning: passing argument 1 of ‘free’
discards ‘const’ qualifier from pointer target type
Fixes: c89009463888 ("nanddump: don't leak copied command line arguments")
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'jffsX-utils/sumtool.c')
0 files changed, 0 insertions, 0 deletions