diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 20:31:39 +0300 |
commit | cddcd7483a7c472598af098e759e5d309024f606 (patch) | |
tree | b0a227d6e087c41958cc84d27bc323353248aae5 /plugins/SecureIM/src/gettime.cpp | |
parent | 1039b2829a264280493ba0fa979214fe024dc70c (diff) |
DWORD -> uint32_t
Diffstat (limited to 'plugins/SecureIM/src/gettime.cpp')
-rw-r--r-- | plugins/SecureIM/src/gettime.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/gettime.cpp b/plugins/SecureIM/src/gettime.cpp index 4da5fe98c8..04bcef35f7 100644 --- a/plugins/SecureIM/src/gettime.cpp +++ b/plugins/SecureIM/src/gettime.cpp @@ -7,7 +7,7 @@ const static long div_100_nsec = 10000000; /* POSIX or Unix Epoch (1-Jan-1970 00:00) in FILETIME units */
const static ULONGLONG ix_epoch = 116444736000000000;
-DWORD gettime(void)
+uint32_t gettime(void)
{
ULONGLONG diff_100_nsec;
union
@@ -20,5 +20,5 @@ DWORD gettime(void) diff_100_nsec = now.u.QuadPart - ix_epoch;
- return (DWORD)(diff_100_nsec / div_100_nsec);
+ return (uint32_t)(diff_100_nsec / div_100_nsec);
}
|