From d0fa49b78d1f40d84ec76c363cdc38cf128511dd Mon Sep 17 00:00:00 2001 From: Tony Nguyen Date: Mon, 29 Sep 2008 17:35:19 -0700 Subject: 1207395 au_event_t is a currently a short. It should be redefined to be a u_short --- usr/src/cmd/auditreduce/token.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'usr/src/cmd/auditreduce/token.c') diff --git a/usr/src/cmd/auditreduce/token.c b/usr/src/cmd/auditreduce/token.c index 1e3c37fbd2..a507780cf5 100644 --- a/usr/src/cmd/auditreduce/token.c +++ b/usr/src/cmd/auditreduce/token.c @@ -19,11 +19,10 @@ * CDDL HEADER END */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" /* * Token processing for auditreduce. @@ -1362,7 +1361,7 @@ subject32_token(adr_t *adr) checkflags |= M_GROUPE; } if (flags & M_SID) { - if (m_sid == sid) + if (m_sid == (au_asid_t)sid) checkflags |= M_SID; } return (-1); @@ -1424,7 +1423,7 @@ subject32_ex_token(adr_t *adr) checkflags = checkflags | M_GROUPE; } if (flags & M_SID) { - if (m_sid == sid) + if (m_sid == (au_asid_t)sid) checkflags = checkflags | M_SID; } return (-1); @@ -1486,7 +1485,7 @@ subject64_token(adr_t *adr) checkflags |= M_GROUPE; } if (flags & M_SID) { - if (m_sid == sid) + if (m_sid == (au_asid_t)sid) checkflags |= M_SID; } return (-1); @@ -1549,7 +1548,7 @@ subject64_ex_token(adr_t *adr) checkflags = checkflags | M_GROUPE; } if (flags & M_SID) { - if (m_sid == sid) + if (m_sid == (au_asid_t)sid) checkflags = checkflags | M_SID; } return (-1); -- cgit v1.2.3