Use uintptr_t instead of performing pointer subtraction with a null pointer
commitcc4d6614b5922c1104125b1f4d0850a88a551882
authorQihao Chencao <twose@qq.com>
Tue, 28 Jun 2022 08:57:55 +0000 (28 16:57 +0800)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 17 Feb 2023 20:07:44 +0000 (17 17:07 -0300)
treeaade315fd79153cf930e8dfd15581dcbdffea0b8
parentdab63442791e334d592ce91827ffa9d14ca92ea9
Use uintptr_t instead of performing pointer subtraction with a null pointer

Signed-off-by: Qihao Chencao <twose@qq.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
12 files changed:
crypt/md5-crypt.c
crypt/sha256-crypt.c
crypt/sha512-crypt.c
elf/dl-minimal-malloc.c
misc/regexp.c
nscd/nscd_getgr_r.c
nscd/nscd_gethst_r.c
nscd/nscd_getserv_r.c
nss/nss_files/files-alias.c
nss/nss_files/files-parse.c
stdlib/msort.c
sysdeps/unix/sysv/linux/dl-sysdep.c