diff options
author | Chris Robinson <[email protected]> | 2014-05-07 16:12:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-05-07 16:12:34 -0700 |
commit | 3e274c3a5784daa313fb5f7663f1b1fc55f5cefc (patch) | |
tree | 8ee8ae48ae6f198eca273a1e2013cc42bf83c2e6 /common/threads.c | |
parent | 1c01e9423719c96866c82cb395388409db0bba35 (diff) |
Make sure FILETIME and ULARGE_INTEGER sizes match
Diffstat (limited to 'common/threads.c')
-rw-r--r-- | common/threads.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/threads.c b/common/threads.c index ccbe209f..d45efc91 100644 --- a/common/threads.c +++ b/common/threads.c @@ -292,6 +292,8 @@ void altss_delete(altss_t tss_id) int altimespec_get(struct timespec *ts, int base) { + static_assert(sizeof(FILETIME) == sizeof(ULARGE_INTEGER), + "Size of FILETIME does not match ULARGE_INTEGER"); if(base == AL_TIME_UTC) { union { |