* tests/test-nonblocking-writer.h (main_writer_loop): Cast dbgfprintf
argument to match the format directive.
2020-08-16 Bruno Haible <bruno@clisp.org>
+ Fix "warning: format specifies type 'unsigned long'".
+ * tests/test-nonblocking-writer.h (main_writer_loop): Cast dbgfprintf
+ argument to match the format directive.
+
Fix "warning: no case matching constant switch condition '0'".
* tests/test-fcntl.c (check_flags): Add a 'default' case.
usleep (1000000);
dbgfprintf (stderr, "%s:1: >> write (%lu)\n", PROG_ROLE,
- (unsigned long) 2 * data_block_size);
+ (unsigned long) (2 * data_block_size));
START_TIMING
ret = write (fd, data, 2 * data_block_size);
saved_errno = errno;