summaryrefslogtreecommitdiff
path: root/tests/stat-w32.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stat-w32.c')
-rw-r--r--tests/stat-w32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/stat-w32.c b/tests/stat-w32.c
index c1a29239..e61b75c6 100644
--- a/tests/stat-w32.c
+++ b/tests/stat-w32.c
@@ -50,7 +50,6 @@
#include "stat-w32.h"
#include "pathmax.h"
-#include "verify.h"
/* Don't assume that UNICODE is not defined. */
#undef LoadLibrary
@@ -228,7 +227,7 @@ _gl_fstat_by_handle (HANDLE h, const char *path, struct stat *buf)
if (GetFileInformationByHandleExFunc (h, FileIdInfo, &id, sizeof (id)))
{
buf->st_dev = id.VolumeSerialNumber;
- verify (sizeof (ino_t) == sizeof (id.FileId));
+ static_assert (sizeof (ino_t) == sizeof (id.FileId));
memcpy (&buf->st_ino, &id.FileId, sizeof (ino_t));
goto ino_done;
}