diff options
author | dim <dim@FreeBSD.org> | 2012-03-12 11:04:48 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-03-12 11:04:48 +0000 |
commit | c2c20240edfb27db7219b74681fa5f2038f13246 (patch) | |
tree | 39c31fc787c40e47444fefc56aa7808646ea6216 /libexec/talkd | |
parent | 7654527e54953ea42e7a35136d0521bb4ae4b225 (diff) | |
download | FreeBSD-src-c2c20240edfb27db7219b74681fa5f2038f13246.zip FreeBSD-src-c2c20240edfb27db7219b74681fa5f2038f13246.tar.gz |
Fix the following warning/error with clang:
libexec/rtld-elf/rtld.c:1898:22: error: comparison between pointer and integer ('Elf_Addr *' (aka 'unsigned int *') and 'Elf_Addr' (aka 'unsigned int')) [-Werror]
if (preinit_addr == (Elf_Addr)NULL)
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
libexec/rtld-elf/rtld.c:2039:16: error: comparison between pointer and integer ('Elf_Addr *' (aka 'unsigned int *') and 'Elf_Addr' (aka 'unsigned int')) [-Werror]
if (init_addr != (Elf_Addr)NULL) {
~~~~~~~~~ ^ ~~~~~~~~~~~~~~
Reviewed by: kib
Diffstat (limited to 'libexec/talkd')
0 files changed, 0 insertions, 0 deletions