diff options
Diffstat (limited to 'usr/src/uts/common/io')
-rw-r--r-- | usr/src/uts/common/io/ppp/sppptun/sppptun_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/ppp/sppptun/sppptun_impl.h b/usr/src/uts/common/io/ppp/sppptun/sppptun_impl.h index 58480ae60c..ab879959d8 100644 --- a/usr/src/uts/common/io/ppp/sppptun/sppptun_impl.h +++ b/usr/src/uts/common/io/ppp/sppptun/sppptun_impl.h @@ -150,7 +150,7 @@ struct tuncl_s { }; #define TO_TLL(p) \ - ((tunll_t *)((caddr_t)(p) - offsetof(tunll_t, tll_next))) + ((tunll_t *)((uintptr_t)(p) - offsetof(tunll_t, tll_next))) #define TLLF_NOTLOWER 0x00000001 /* never set */ #define TLLF_CLOSING 0x00000002 /* driver detach initiated */ |