diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-11-21 12:33:13 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-11-21 12:33:13 +0000 |
commit | cc1dc4a4d6f4a4ca0619aded951e2917c22f5f56 (patch) | |
tree | 8d373e874011058429ee1121af44d45a2949f4bb /usr/src/lib/libproc/common/Psymtab.c | |
parent | a0b43c9bf7333d73208e783521f77e1eb5c530e0 (diff) | |
parent | c85f09cc92abd00c84e58ec9f0f5d942906cb713 (diff) | |
download | illumos-joyent-cc1dc4a4d6f4a4ca0619aded951e2917c22f5f56.tar.gz |
[illumos-gate merge]
commit c85f09cc92abd00c84e58ec9f0f5d942906cb713
11972 resync smatch
commit 3128654191cf8267843c8a40c4e0f3ac65f599f1
11973 tem: we only can translate colors 0-7
commit 62ce8e2e52946c2ebc855b02452650365c19eafc
12003 libefi: add efi_reserved_sectors()
commit 78d83021c1426eb570f801cac4175645da13efe4
11986 libproc: cast between incompatible function types
commit 5928363ef66d875d343b47ca57f45a68d08a056a
12008 libc symbol test timeout should be bumped
Diffstat (limited to 'usr/src/lib/libproc/common/Psymtab.c')
-rw-r--r-- | usr/src/lib/libproc/common/Psymtab.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/lib/libproc/common/Psymtab.c b/usr/src/lib/libproc/common/Psymtab.c index a224dd4055..3715d9b900 100644 --- a/usr/src/lib/libproc/common/Psymtab.c +++ b/usr/src/lib/libproc/common/Psymtab.c @@ -3355,7 +3355,7 @@ Psymbol_iter_by_lmid(struct ps_prochandle *P, Lmid_t lmid, const char *object_name, int which, int mask, proc_sym_f *func, void *cd) { return (Psymbol_iter_com(P, lmid, object_name, which, mask, - PRO_NATURAL, (proc_xsym_f *)func, cd)); + PRO_NATURAL, (proc_xsym_f *)(uintptr_t)func, cd)); } int @@ -3363,7 +3363,7 @@ Psymbol_iter(struct ps_prochandle *P, const char *object_name, int which, int mask, proc_sym_f *func, void *cd) { return (Psymbol_iter_com(P, PR_LMID_EVERY, object_name, which, mask, - PRO_NATURAL, (proc_xsym_f *)func, cd)); + PRO_NATURAL, (proc_xsym_f *)(uintptr_t)func, cd)); } int @@ -3371,7 +3371,7 @@ Psymbol_iter_by_addr(struct ps_prochandle *P, const char *object_name, int which, int mask, proc_sym_f *func, void *cd) { return (Psymbol_iter_com(P, PR_LMID_EVERY, object_name, which, mask, - PRO_BYADDR, (proc_xsym_f *)func, cd)); + PRO_BYADDR, (proc_xsym_f *)(uintptr_t)func, cd)); } int @@ -3379,7 +3379,7 @@ Psymbol_iter_by_name(struct ps_prochandle *P, const char *object_name, int which, int mask, proc_sym_f *func, void *cd) { return (Psymbol_iter_com(P, PR_LMID_EVERY, object_name, which, mask, - PRO_BYNAME, (proc_xsym_f *)func, cd)); + PRO_BYNAME, (proc_xsym_f *)(uintptr_t)func, cd)); } /* |