1. uranium
  2. shadowircd


Jilles Tjoelker  committed bbf5b54

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.

  • Participants
  • Parent commits 0710bbd
  • Branches trunk

Comments (0)

Files changed (1)

File include/privilege.h

View file
  • Ignore whitespace
 #include "stdinc.h"
-typedef enum {
+enum {
-} PrivilegeFlags;
+typedef unsigned int PrivilegeFlags;
 struct PrivilegeSet {
 	unsigned int status;	/* If CONF_ILLEGAL, delete when no refs */