]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Fix type warning problem with time_t in debugfs
authorTheodore Ts'o <tytso@mit.edu>
Sun, 21 May 2006 23:26:06 +0000 (19:26 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 21 May 2006 23:26:06 +0000 (19:26 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debugfs/ChangeLog
debugfs/set_fields.c

index 0425d227dacc002eedce6e7f6ee0a5c4099d4aaf..7fea7b2e626b4d27e043d92194e5388f21698464 100644 (file)
@@ -1,3 +1,7 @@
+2006-05-21  Theodore Tso  <tytso@mit.edu>
+
+       * set_fields.c (parse_time): Fix type warning problem with time_t
+
 2006-05-08  Theodore Tso  <tytso@mit.edu>
 
        * debugfs.c (do_show_super_stats): Print out the block group flags
index 188d016a45759200fd377c632c1b98f9d8a831a3..014420a9ad94dacad459e73e3523b6c6e453a366 100644 (file)
@@ -278,7 +278,8 @@ static errcode_t parse_string(struct field_set_info *info, char *arg)
 
 static errcode_t parse_time(struct field_set_info *info, char *arg)
 {
-       __u32           *ptr32, t;
+       time_t          t;
+       __u32           *ptr32;
 
        ptr32 = (__u32 *) info->ptr;