]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
include/utime: do not cast sec to time_t 27861/head
authorKefu Chai <kchai@redhat.com>
Mon, 29 Apr 2019 12:48:30 +0000 (20:48 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 29 Apr 2019 13:11:52 +0000 (21:11 +0800)
commit50226ef63cf3d70e3bf57558e54acaffa6b12727
tree1c9e92c50efbed394623fe3bcf751a5286b34ea5
parentf2bafe4b0333afbf288937b662c71e159c5abb9d
include/utime: do not cast sec to time_t

strictly speaking, time_t is an opaque time, and in this context, we
need a uint32_t, so it is not necessary and wrong. let's remove it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/include/utime.h