diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2013-08-22 04:43:42 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2013-08-22 04:43:42 +0000 |
commit | 323d1abbc45a9dfeae3d39b5f8cc041dc4b73bd1 (patch) | |
tree | 64ea330e44da28fb9da88722be4cb4e200afe707 /games/adventure | |
parent | 31003a7e68970e14de72e158246cccd33cccc1e7 (diff) |
Correct format string mismatches turned up by -Wformat=2
suggestions and ok millert@
Diffstat (limited to 'games/adventure')
-rw-r--r-- | games/adventure/wizard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/adventure/wizard.c b/games/adventure/wizard.c index b01c9112162..55690443991 100644 --- a/games/adventure/wizard.c +++ b/games/adventure/wizard.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wizard.c,v 1.14 2009/10/27 23:59:23 deraadt Exp $ */ +/* $OpenBSD: wizard.c,v 1.15 2013/08/22 04:43:41 guenther Exp $ */ /* $NetBSD: wizard.c,v 1.3 1995/04/24 12:21:41 cgd Exp $ */ /*- @@ -84,7 +84,7 @@ Start(void) if (delay >= latncy) return (FALSE); printf("This adventure was suspended a mere %d minute%s ago.", - delay, delay == 1 ? "" : "s"); + (int)delay, delay == 1 ? "" : "s"); if (delay <= latncy / 3) { mspeak(2); exit(0); |