summaryrefslogtreecommitdiff
path: root/games/adventure/hdr.h
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2017-05-19 08:22:54 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2017-05-19 08:22:54 +0000
commitc370c069afa08fafa244f1801498ce64a9bf5602 (patch)
tree5646019ddbc7796ed09eda5eca44f76d3136c8c6 /games/adventure/hdr.h
parent0291360fb4425d1aae01bcb4fee3f24fc43f3b48 (diff)
Silence a whole slew of clang warnings by doing a no-op in the crazy
internal obfuscation scheme the other way around, thereby avoiding a signed underflow. ok mestre
Diffstat (limited to 'games/adventure/hdr.h')
-rw-r--r--games/adventure/hdr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/adventure/hdr.h b/games/adventure/hdr.h
index ce1630cbad0..063b145363d 100644
--- a/games/adventure/hdr.h
+++ b/games/adventure/hdr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hdr.h,v 1.16 2017/04/10 13:56:16 fcambus Exp $ */
+/* $OpenBSD: hdr.h,v 1.17 2017/05/19 08:22:53 tb Exp $ */
/* $NetBSD: hdr.h,v 1.2 1995/03/21 12:05:02 cgd Exp $ */
/*-
@@ -156,4 +156,4 @@ int turns, lmwarn, iwest, knfloc, detail, /* various flags & counters */
int demo, limit;
/* We need to get a little tricky to avoid strings */
-#define DECR(a,b,c,d,e) decr(*#a+'+',*#b+'-',*#c+'#',*#d+'&',*#e+'%')
+#define DECR(a,b,c,d,e) decr(*#a-'+',*#b-'-',*#c-'#',*#d-'&',*#e-'%')