Always use unsigned for one-bit fields
authorKen Raeburn <raeburn@mit.edu>
Wed, 6 Aug 2008 00:10:43 +0000 (00:10 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 6 Aug 2008 00:10:43 +0000 (00:10 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20609 dc483132-0cff-0310-8789-dd5450dbe970

src/util/profile/prof_tree.c

index 2ea02a54708e239bef6bb523b18b736481945e00..a99306afd66ed1958c4cd2b8eb3e464d4a776fcd 100644 (file)
@@ -32,8 +32,8 @@ struct profile_node {
        char *name;
        char *value;
        int group_level;
-       int final:1;            /* Indicate don't search next file */
-       int deleted:1;
+       unsigned int final:1;           /* Indicate don't search next file */
+       unsigned int deleted:1;
        struct profile_node *first_child;
        struct profile_node *parent;
        struct profile_node *next, *prev;