From 128369f1bb02022b2f5f59fca37f2025c49e2651 Mon Sep 17 00:00:00 2001 From: Charles Forsyth Date: Sat, 15 Apr 2017 15:28:59 +0100 Subject: MS compiler now messes up true as a variable --- tools/libstyx/styxserver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/libstyx/styxserver.c') diff --git a/tools/libstyx/styxserver.c b/tools/libstyx/styxserver.c index 34257349..96700280 100644 --- a/tools/libstyx/styxserver.c +++ b/tools/libstyx/styxserver.c @@ -72,9 +72,9 @@ styxfatal(char *fmt, ...) } static void -styxassert(int true, char *reason) +styxassert(int vtrue, char *reason) { - if(!true) + if(!vtrue) styxfatal("assertion failed: %s\n", reason); } -- cgit v1.2.3