diff options
Diffstat (limited to 'usr/src/cmd/mdb/common/modules/genunix/genunix.c')
-rw-r--r-- | usr/src/cmd/mdb/common/modules/genunix/genunix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/mdb/common/modules/genunix/genunix.c b/usr/src/cmd/mdb/common/modules/genunix/genunix.c index b79263ee64..36dfa16eb6 100644 --- a/usr/src/cmd/mdb/common/modules/genunix/genunix.c +++ b/usr/src/cmd/mdb/common/modules/genunix/genunix.c @@ -629,7 +629,7 @@ lg_walk_init(mdb_walk_state_t *wsp) } wsp->walk_addr = (uintptr_t)sym.st_value; - wsp->walk_data = (void *)(sym.st_value + sym.st_size); + wsp->walk_data = (void *)(uintptr_t)(sym.st_value + sym.st_size); return (WALK_NEXT); } |