summaryrefslogtreecommitdiffstats
path: root/win/cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/cat.c')
-rw-r--r--win/cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/cat.c b/win/cat.c
index d49e37c..3a821a4 100644
--- a/win/cat.c
+++ b/win/cat.c
@@ -35,7 +35,7 @@ _tmain(void)
write(1, buf, n);
}
err = (sizeof(int) == 2) ? "stderr16" : "stderr32";
- write(2, err, strlen(err));
+ write(2, err, (unsigned int)strlen(err));
return 0;
}