diff options
author | Yuri Pankov <[email protected]> | 2023-12-01 01:36:33 +0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-11-30 10:36:33 -0800 |
commit | 735ba3a7b7b5b874ab746ea22fda3b0525878899 (patch) | |
tree | 1dfc7d8a5ba51da61b4bb21975a8de516bf0a8af /lib/libspl/include/sys | |
parent | a03ebd9beec6243682557fa692c12b1061fc58bd (diff) |
Use uint64_t instead of u_int64_t
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Yuri Pankov <[email protected]>
Closes #15610
Diffstat (limited to 'lib/libspl/include/sys')
-rw-r--r-- | lib/libspl/include/sys/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libspl/include/sys/time.h b/lib/libspl/include/sys/time.h index e692415a0..0f7d5196b 100644 --- a/lib/libspl/include/sys/time.h +++ b/lib/libspl/include/sys/time.h @@ -101,7 +101,7 @@ gethrtime(void) { struct timespec ts; (void) clock_gettime(CLOCK_MONOTONIC, &ts); - return ((((u_int64_t)ts.tv_sec) * NANOSEC) + ts.tv_nsec); + return ((((uint64_t)ts.tv_sec) * NANOSEC) + ts.tv_nsec); } #endif /* _LIBSPL_SYS_TIME_H */ |