Don't suggest putting values in an enum that are not in the enum.
Compilers may assume that variables of enumerated type only contain values in the enumeration.
This commit is contained in:
parent
48811aebd5
commit
b3a4fe7410
|
@ -26,9 +26,10 @@
|
|||
|
||||
#include "stdinc.h"
|
||||
|
||||
typedef enum {
|
||||
enum {
|
||||
PRIV_NEEDOPER = 1
|
||||
} PrivilegeFlags;
|
||||
};
|
||||
typedef unsigned int PrivilegeFlags;
|
||||
|
||||
struct PrivilegeSet {
|
||||
unsigned int status; /* If CONF_ILLEGAL, delete when no refs */
|
||||
|
|
Loading…
Reference in New Issue