I did:
> 2023-09-04  Bruno Haible  <br...@clisp.org>
> 
>       string-buffer tests: Fix a gcc -Wformat warning.
>       * tests/test-string-buffer.c: Don't assume that wint_t has the same size
>       as 'int'.

Oops, that doesn't even compile. Fix:


2023-09-04  Bruno Haible  <br...@clisp.org>

        string-buffer tests: Fix a compilation error (regression from today).
        * tests/test-string-buffer.c: Include <wchar.h>.

diff --git a/tests/test-string-buffer.c b/tests/test-string-buffer.c
index 1c9181d838..e5c2c5f918 100644
--- a/tests/test-string-buffer.c
+++ b/tests/test-string-buffer.c
@@ -21,6 +21,7 @@
 #include "string-buffer.h"
 
 #include <string.h>
+#include <wchar.h>
 
 #include "macros.h"
 




Reply via email to