diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/tools/imgtool/modules/macutil.cpp | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/tools/imgtool/modules/macutil.cpp')
-rw-r--r-- | src/tools/imgtool/modules/macutil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/imgtool/modules/macutil.cpp b/src/tools/imgtool/modules/macutil.cpp index d569684c34c..3765f976319 100644 --- a/src/tools/imgtool/modules/macutil.cpp +++ b/src/tools/imgtool/modules/macutil.cpp @@ -12,7 +12,7 @@ #include "macutil.h" -time_t mac_crack_time(UINT32 t) +time_t mac_crack_time(uint32_t t) { /* not sure if this is correct... */ return t - (((1970 - 1904) * 365) + 17) * 24 * 60 * 60; @@ -20,7 +20,7 @@ time_t mac_crack_time(UINT32 t) -UINT32 mac_setup_time(time_t t) +uint32_t mac_setup_time(time_t t) { /* not sure if this is correct... */ return t + (((1970 - 1904) * 365) + 17) * 24 * 60 * 60; @@ -28,7 +28,7 @@ UINT32 mac_setup_time(time_t t) -UINT32 mac_time_now(void) +uint32_t mac_time_now(void) { time_t now; time(&now); |