Make sure FILETIME and ULARGE_INTEGER sizes match

This commit is contained in:
Chris Robinson
2014-05-07 16:12:34 -07:00
parent 1c01e94237
commit 3e274c3a57
+2
View File
@@ -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 {