diff options
Diffstat (limited to 'winsup/testsuite/winsup.api/ltp/lseek06.c')
-rw-r--r-- | winsup/testsuite/winsup.api/ltp/lseek06.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/winsup.api/ltp/lseek06.c b/winsup/testsuite/winsup.api/ltp/lseek06.c index 638d876d8..f62c3422c 100644 --- a/winsup/testsuite/winsup.api/ltp/lseek06.c +++ b/winsup/testsuite/winsup.api/ltp/lseek06.c @@ -201,7 +201,7 @@ setup() } /* Write data into temporary file */ - if(write(fildes, write_buf, strlen(write_buf)) != strlen(write_buf)) { + if(write(fildes, write_buf, strlen(write_buf)) != (int)strlen(write_buf)) { tst_brkm(TBROK, cleanup, "write(2) on %s Failed, errno=%d : %s", TEMP_FILE, errno, strerror(errno)); } |