* tests/test-nonblocking-pipe-main.c (main): Use type 'pid_t' instead
of 'int'.
* tests/test-nonblocking-socket-main.c (main): Likewise.
2020-08-23 Bruno Haible <bruno@clisp.org>
+ tests: Don't assume that pid_t fits in an 'int'.
+ * tests/test-nonblocking-pipe-main.c (main): Use type 'pid_t' instead
+ of 'int'.
+ * tests/test-nonblocking-socket-main.c (main): Likewise.
+
sys_types: Fix definition of pid_t on 64-bit MSVC.
* m4/pid_t.m4: New file.
* modules/sys_types (Files): Add it.
const char *child_path;
int test;
int fd[2];
- int child;
+ pid_t child;
int exitcode;
child_path = argv[1];
int test;
int server;
int port;
- int child;
+ pid_t child;
int server_socket;
int exitcode;