Re: server/token.c -- -Wtype-limits changes
9 Jan
2008
9 Jan
'08
11:19 a.m.
Gerald Pfeifer <gerald(a)pfeifer.com> writes:
diff -u -3 -p -r1.60 token.c --- server/token.c 6 Dec 2007 14:27:53 -0000 1.60 +++ server/token.c 7 Jan 2008 13:57:28 -0000 @@ -515,8 +515,7 @@ struct token *token_duplicate( struct to struct privilege *privilege; struct group *group;
- if ((impersonation_level < SecurityAnonymous) || - (impersonation_level > SecurityDelegation)) + if (impersonation_level > SecurityDelegation)
There's no guarantee that the enum is an unsigned type. -- Alexandre Julliard julliard(a)winehq.org
6550
Age (days ago)
6550
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard