diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2017-04-15 15:28:59 +0100 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2017-04-15 15:28:59 +0100 |
| commit | 128369f1bb02022b2f5f59fca37f2025c49e2651 (patch) | |
| tree | 20a8ec2fed9ea098f192fe523ce2a5fbf1d4b596 /tools/libstyx/styxserver.c | |
| parent | b6e0f20a2e20eb735af612002cea9827d8f0b9b9 (diff) | |
MS compiler now messes up true as a variable
Diffstat (limited to 'tools/libstyx/styxserver.c')
| -rw-r--r-- | tools/libstyx/styxserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |
