summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/fortune/fortune/fortune.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c
index 8aaffbbc660..cf87127b41e 100644
--- a/games/fortune/fortune/fortune.c
+++ b/games/fortune/fortune/fortune.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fortune.c,v 1.41 2015/02/06 10:49:32 tedu Exp $ */
+/* $OpenBSD: fortune.c,v 1.42 2015/02/06 10:50:48 tedu Exp $ */
/* $NetBSD: fortune.c,v 1.8 1995/03/23 08:28:40 cgd Exp $ */
/*-
@@ -200,7 +200,7 @@ void
rot13(char *p, size_t len)
{
while (len--) {
- char ch = *p;
+ unsigned char ch = *p;
if (isupper(ch))
*p = 'A' + (ch - 'A' + 13) % 26;
else if (islower(ch))