summaryrefslogtreecommitdiff
path: root/libtbd_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtbd_stat.c')
-rw-r--r--libtbd_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtbd_stat.c b/libtbd_stat.c
index dacbe12..a8e0a33 100644
--- a/libtbd_stat.c
+++ b/libtbd_stat.c
@@ -91,7 +91,7 @@ tbd_stat_from_path(const char *name,
ret->uid = (uint32_t)info.st_uid;
ret->gid = (uint32_t)info.st_gid;
ret->mode = (uint32_t)info.st_mode;
- ret->mtime = (uint32_t)info.st_mtime;
+ ret->mtime = (time_t)info.st_mtime;
return ret;
}