summaryrefslogtreecommitdiffstats
path: root/winsup/testsuite/winsup.api/crlf.c
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/testsuite/winsup.api/crlf.c')
-rw-r--r--winsup/testsuite/winsup.api/crlf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/testsuite/winsup.api/crlf.c b/winsup/testsuite/winsup.api/crlf.c
index ccabb8f69..ea79122f0 100644
--- a/winsup/testsuite/winsup.api/crlf.c
+++ b/winsup/testsuite/winsup.api/crlf.c
@@ -156,7 +156,7 @@ int commands[] = {
int errors = 0;
-#define num_commands (sizeof(commands)/sizeof(commands[0]))
+#define num_commands (int)(sizeof(commands)/sizeof(commands[0]))
int pc;
int askfor, get, expect, count, posn, whence, size;