From 3e274c3a5784daa313fb5f7663f1b1fc55f5cefc Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 7 May 2014 16:12:34 -0700 Subject: Make sure FILETIME and ULARGE_INTEGER sizes match --- common/threads.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/threads.c') 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 { -- cgit v1.2.3