diff options
Diffstat (limited to 'lib-src/asset-directory-tool.c')
| -rw-r--r-- | lib-src/asset-directory-tool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/asset-directory-tool.c b/lib-src/asset-directory-tool.c index 23f4655448c..a95bbd4735e 100644 --- a/lib-src/asset-directory-tool.c +++ b/lib-src/asset-directory-tool.c | |||
| @@ -20,7 +20,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 20 | #include <config.h> | 20 | #include <config.h> |
| 21 | 21 | ||
| 22 | #include <stdio.h> | 22 | #include <stdio.h> |
| 23 | #include <verify.h> | 23 | #include <assert.h> |
| 24 | #include <fcntl.h> | 24 | #include <fcntl.h> |
| 25 | #include <errno.h> | 25 | #include <errno.h> |
| 26 | #include <byteswap.h> | 26 | #include <byteswap.h> |
| @@ -236,7 +236,7 @@ main_2 (int fd, struct directory_tree *tree, size_t *offset) | |||
| 236 | output[0] = (unsigned int) tree->st_size; | 236 | output[0] = (unsigned int) tree->st_size; |
| 237 | #endif /* !WORDS_BIGENDIAN */ | 237 | #endif /* !WORDS_BIGENDIAN */ |
| 238 | 238 | ||
| 239 | verify (sizeof output == 8 && sizeof output[0] == 4); | 239 | static_assert (sizeof output == 8 && sizeof output[0] == 4); |
| 240 | if (!need_file_size) | 240 | if (!need_file_size) |
| 241 | { | 241 | { |
| 242 | if (write (fd, output + 1, 4) < 1) | 242 | if (write (fd, output + 1, 4) < 1) |