diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-10-24 22:25:44 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-10-24 22:25:44 +0200 |
commit | cb4186bef1b44691db4221406d001a8d40c65b4b (patch) | |
tree | 285662381eaa0514f988142bff0c8a9685c84dc0 /tests/stat-w32.c | |
parent | cc0876a2fa9e703b1064992ab535f3eed57e9c71 (diff) | |
parent | 26112352a774737e1ce5580c93654a26c1e82b39 (diff) |
Update upstream source from tag 'upstream/1.1'
Update to upstream version '1.1'
with Debian dir acc8a9214de592a0bbbdb680385559210b329d52
Diffstat (limited to 'tests/stat-w32.c')
-rw-r--r-- | tests/stat-w32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/stat-w32.c b/tests/stat-w32.c index c1a2923..e61b75c 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; } |