Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2022-08-30 16:22:55 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2023-01-13 20:03:54 +0300
commit01a0e3e4917dda546f373f2d806f6e6c348faa82 (patch)
tree5afbe62043caea7157ee7cd4a71539f3e779d0d6 /winsup/testsuite/libltp
parentdaeeaa97b35c0f143d6aa9d97d94e23e375337e8 (diff)
Cygwin: testsuite: Fix compilation warnings
Fix the warnings the previous change surfaces. See ltp commit d5c2112f for mmap fixes.
Diffstat (limited to 'winsup/testsuite/libltp')
-rw-r--r--winsup/testsuite/libltp/include/usctest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/libltp/include/usctest.h b/winsup/testsuite/libltp/include/usctest.h
index fef349d04..637635a25 100644
--- a/winsup/testsuite/libltp/include/usctest.h
+++ b/winsup/testsuite/libltp/include/usctest.h
@@ -210,7 +210,7 @@ extern void STD_opts_help();
* SCALL = system call and parameters to execute
*
***********************************************************************/
-#define TEST(SCALL) TEST_RETURN = SCALL; TEST_ERRNO=errno;
+#define TEST(SCALL) TEST_RETURN = (long) SCALL; TEST_ERRNO=errno;
/***********************************************************************
* TEST_VOID: calls a system call