diff options
author | Toomas Soome <tsoome@me.com> | 2019-05-30 08:23:56 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-06-18 21:04:10 +0300 |
commit | ad24f9fb30ac1431734347d46a592d22cbfcf3b6 (patch) | |
tree | c1a4a4ad3479aa44dc83113fd00e1e720a473d14 | |
parent | 0362cabb4921eb6283a19fb680876f50907fda08 (diff) | |
download | illumos-joyent-ad24f9fb30ac1431734347d46a592d22cbfcf3b6.tar.gz |
11081 liblddbg: comparison between pointer and integer
Reviewed by: Gergő Doma <domag02@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/cmd/sgs/liblddbg/common/statistics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/sgs/liblddbg/common/statistics.c b/usr/src/cmd/sgs/liblddbg/common/statistics.c index 3346a7b708..c327da4324 100644 --- a/usr/src/cmd/sgs/liblddbg/common/statistics.c +++ b/usr/src/cmd/sgs/liblddbg/common/statistics.c @@ -184,7 +184,7 @@ Dbg_statistics_ar(Ofl_desc *ofl) arsym = adp->ad_start; aux = adp->ad_aux; - while ((arsym != NULL) && (arsym->as_off != NULL)) { + while ((arsym != NULL) && (arsym->as_off != 0)) { /* * Assume that symbols from the same member file are * adjacent within the archive symbol table. |