From: Theodore Ts'o Date: Sun, 21 May 2006 23:26:06 +0000 (-0400) Subject: Fix type warning problem with time_t in debugfs X-Git-Tag: E2FSPROGS-1_39~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3e92534ac49dfa9e7d723b254dc5e9a4f8919e4;p=thirdparty%2Fe2fsprogs.git Fix type warning problem with time_t in debugfs Signed-off-by: "Theodore Ts'o" --- diff --git a/debugfs/ChangeLog b/debugfs/ChangeLog index 0425d227d..7fea7b2e6 100644 --- a/debugfs/ChangeLog +++ b/debugfs/ChangeLog @@ -1,3 +1,7 @@ +2006-05-21 Theodore Tso + + * set_fields.c (parse_time): Fix type warning problem with time_t + 2006-05-08 Theodore Tso * debugfs.c (do_show_super_stats): Print out the block group flags diff --git a/debugfs/set_fields.c b/debugfs/set_fields.c index 188d016a4..014420a9a 100644 --- a/debugfs/set_fields.c +++ b/debugfs/set_fields.c @@ -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;