Index: libscf/usr/src/cmd/svc/configd/client.c =================================================================== --- libscf.orig/usr/src/cmd/svc/configd/client.c 2012-10-08 04:25:33.000000000 +0400 +++ libscf/usr/src/cmd/svc/configd/client.c 2013-01-12 08:21:53.108088973 +0400 @@ -2295,7 +2295,7 @@ thread_info_t *ti = thread_self(); repcache_client_t *cp; - uint32_t id = (uint32_t)cookie; + uintptr_t id = (uintptr_t)cookie; enum rep_protocol_requestid request_code; rep_protocol_responseid_t result = INVALID_RESULT; @@ -2460,7 +2460,7 @@ start_audit_session(cp); - cp->rc_doorfd = door_create(client_switcher, (void *)cp->rc_id, + cp->rc_doorfd = door_create(client_switcher, (void *)(uintptr_t)cp->rc_id, door_flags); if (cp->rc_doorfd < 0) {