diff options
author | Theodore Ts'o <tytso@mit.edu> | 2006-11-14 23:38:17 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2006-11-14 23:38:17 -0500 |
commit | 642935c082ca22e1186fc9926fe06e4207d5ab56 (patch) | |
tree | 1f87fcc3794c73341d375aeeff1c606e078f8d37 /e2fsck/profile.c | |
parent | dec5cd13fff821d1d3f6a922fbd986b3a86abb77 (diff) | |
download | e2fsprogs-642935c082ca22e1186fc9926fe06e4207d5ab56.tar.gz |
Fix misc. gcc -Wall complaints in the misc and e2fsck directories
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'e2fsck/profile.c')
-rw-r--r-- | e2fsck/profile.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/e2fsck/profile.c b/e2fsck/profile.c index f50cb539..e7768a22 100644 --- a/e2fsck/profile.c +++ b/e2fsck/profile.c @@ -136,8 +136,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; @@ -217,8 +217,8 @@ static errcode_t profile_get_value(profile_t profile, const char *name, static int compstr(const void *m1, const void *m2) { - const char *s1 = *((const char **) m1); - const char *s2 = *((const char **) m2); + const char *s1 = *((const char * const *) m1); + const char *s2 = *((const char * const *) m2); return strcmp(s1, s2); } |