mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
make 64-bit time_t back to unsigned
it has been changed by https://github.com/apache/nuttx/pull/10303 without any explicit mentions. i suppose it was a mistake. see https://github.com/apache/nuttx/pull/8201 and referenced PRs for previous discussions.
This commit is contained in:
committed by
Xiang Xiao
parent
9b439a5c72
commit
1ec63e1701
@@ -135,7 +135,7 @@ typedef int nuttx_fsid_t[2];
|
||||
/* These must match the definition in include/time.h */
|
||||
|
||||
# ifdef CONFIG_SYSTEM_TIME64
|
||||
typedef int64_t nuttx_time_t;
|
||||
typedef uint64_t nuttx_time_t;
|
||||
# else
|
||||
typedef uint32_t nuttx_time_t;
|
||||
# endif
|
||||
|
||||
+1
-1
@@ -249,7 +249,7 @@ typedef uint16_t sa_family_t;
|
||||
|
||||
#ifdef CONFIG_SYSTEM_TIME64
|
||||
typedef uint64_t clock_t;
|
||||
typedef int64_t time_t; /* Holds time in seconds */
|
||||
typedef uint64_t time_t; /* Holds time in seconds */
|
||||
#else
|
||||
typedef uint32_t clock_t;
|
||||
typedef uint32_t time_t; /* Holds time in seconds */
|
||||
|
||||
Reference in New Issue
Block a user