* winsup.api/crlf.c: Fix C signed/unsigned compare warning.
* winsup.api/mmaptest01.c: Ditto. * winsup.api/ltp/chmod01.c: Ditto. * winsup.api/ltp/fork04.c: Ditto. * winsup.api/ltp/lseek03.c: Ditto. * winsup.api/ltp/lseek06.c: Ditto. * winsup.api/ltp/lseek07.c: Ditto. * winsup.api/ltp/lseek08.c: Ditto. * winsup.api/ltp/mmap001.c: Ditto. * winsup.api/ltp/mmap02.c: Ditto. * winsup.api/ltp/mmap03.c: Ditto. * winsup.api/ltp/mmap04.c: Ditto. * winsup.api/ltp/mmap05.c: Ditto. * winsup.api/ltp/mmap06.c: Ditto. * winsup.api/ltp/mmap07.c: Ditto. * winsup.api/ltp/mmap08.c: Ditto. * winsup.api/ltp/pipe11.c: Ditto. * winsup.api/ltp/poll01.c: Ditto. * winsup.api/ltp/sync02.c: Ditto. * winsup.api/ltp/times03.c: Ditto. * winsup.api/ltp/umask03.c: Ditto. * winsup.api/ltp/getpgid01.c: Remove unused obsolete include. * winsup.api/ltp/getpgid02.c: Ditto.
This commit is contained in:
@@ -122,7 +122,7 @@ main(int ac, char **av)
|
||||
|
||||
/* write the message to the pipe */
|
||||
if (write(fildes[1], write_buf, strlen(write_buf))
|
||||
< strlen(write_buf)) {
|
||||
< (int)strlen(write_buf)) {
|
||||
tst_brkm(TBROK, cleanup, "write() failed on write "
|
||||
"to pipe, error:%d", errno);
|
||||
}
|
||||
@@ -166,7 +166,7 @@ main(int ac, char **av)
|
||||
|
||||
/* Read data from read end of pipe */
|
||||
if (read(fildes[0], read_buf, sizeof(read_buf)) !=
|
||||
strlen(write_buf)) {
|
||||
(int)strlen(write_buf)) {
|
||||
tst_brkm(TFAIL, NULL, "read() failed - "
|
||||
"error:%d", errno);
|
||||
exit(1);
|
||||
|
Reference in New Issue
Block a user