From a6313a9d1cea800172e9672443e1496d90d4fbcf Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Mon, 21 Jan 2019 20:03:20 +0200 Subject: 11119 libumem: NULL pointer errors Reviewed by: John Levon Reviewed by: Andy Fiddaman Approved by: Dan McDonald --- usr/src/lib/libumem/common/misc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr/src/lib/libumem/common/misc.c') diff --git a/usr/src/lib/libumem/common/misc.c b/usr/src/lib/libumem/common/misc.c index a3da9e5b05..6d809e19e0 100644 --- a/usr/src/lib/libumem/common/misc.c +++ b/usr/src/lib/libumem/common/misc.c @@ -24,8 +24,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include #include #include @@ -244,7 +242,7 @@ print_sym(void *pointer) int result; Dl_info sym_info; - uintptr_t end = NULL; + uintptr_t end = (uintptr_t)NULL; Sym *ext_info = NULL; -- cgit v1.2.3