summaryrefslogtreecommitdiffstats
path: root/caesar
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>2004-01-01 16:00:34 +0000
committerjsm <jsm@NetBSD.org>2004-01-01 16:00:34 +0000
commit3c771c64160feb37f6e52f67b3c6539b7c5e7a1b (patch)
treedbd1b7ec863b50fe539740f379cae9671a5afbc7 /caesar
parent077191ff95ab7ff68ece98bbcec93a70a501ec7d (diff)
downloadbsdgames-darwin-3c771c64160feb37f6e52f67b3c6539b7c5e7a1b.tar.gz
bsdgames-darwin-3c771c64160feb37f6e52f67b3c6539b7c5e7a1b.tar.zst
bsdgames-darwin-3c771c64160feb37f6e52f67b3c6539b7c5e7a1b.zip
Make dot and winnerdot of type double. Patch from Jan Vornberger
<jan@uos.de> in Debian bug 197816.
Diffstat (limited to 'caesar')
-rw-r--r--caesar/caesar.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/caesar/caesar.c b/caesar/caesar.c
index 8bae26c1..e87271e7 100644
--- a/caesar/caesar.c
+++ b/caesar/caesar.c
@@ -1,4 +1,4 @@
-/* $NetBSD: caesar.c,v 1.12 2003/08/07 09:37:07 agc Exp $ */
+/* $NetBSD: caesar.c,v 1.13 2004/01/01 16:00:34 jsm Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -47,7 +47,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)caesar.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: caesar.c,v 1.12 2003/08/07 09:37:07 agc Exp $");
+__RCSID("$NetBSD: caesar.c,v 1.13 2004/01/01 16:00:34 jsm Exp $");
#endif
#endif /* not lint */
@@ -84,7 +84,8 @@ main(argc, argv)
int argc;
char **argv;
{
- int ch, dot, i, nread, winnerdot;
+ int ch, i, nread;
+ double dot, winnerdot;
char *inbuf;
int obs[26], try, winner;