aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cddl/contrib/opensolaris/tools/ctf/cvt/iidesc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/iidesc.c b/cddl/contrib/opensolaris/tools/ctf/cvt/iidesc.c
index fc1cefc9321b..51abb36f44ce 100644
--- a/cddl/contrib/opensolaris/tools/ctf/cvt/iidesc.c
+++ b/cddl/contrib/opensolaris/tools/ctf/cvt/iidesc.c
@@ -179,7 +179,7 @@ int
iidesc_count_type(void *data, void *private)
{
iidesc_t *ii = data;
- iitype_t match = (iitype_t)private;
+ iitype_t match = (iitype_t)(uintptr_t)private;
return (ii->ii_type == match);
}