]> granicus.if.org Git - sudo/commitdiff
Shrink type and seqno in struct alias from int to u_short
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 15 Sep 2007 11:50:28 +0000 (11:50 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 15 Sep 2007 11:50:28 +0000 (11:50 +0000)
parse.h

diff --git a/parse.h b/parse.h
index 2ae610ef932312896b469c3e3b2306a20cad8746..11d1f2510d2d90fc6a9c4f9b8c64a961be9c6d09 100644 (file)
--- a/parse.h
+++ b/parse.h
@@ -118,8 +118,8 @@ struct member {
  */
 struct alias {
     char *name;                                /* alias name */
-    int type;                          /* {USER,HOST,RUNAS,CMND}ALIAS */
-    unsigned int seqno;                        /* sequence number */
+    unsigned short type;               /* {USER,HOST,RUNAS,CMND}ALIAS */
+    unsigned short seqno;              /* sequence number */
     struct member_list members;                /* list of alias members */
 };