summaryrefslogtreecommitdiff
path: root/src/ics.c
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2018-10-03 20:38:03 -0700
committerScott Gasch <[email protected]>2018-10-03 20:38:03 -0700
commit98e8d2445213432c65ae48cfa76c863aae1139e7 (patch)
tree2b2a48828fdb0fa5f29698b7c9cd31427728203f /src/ics.c
parent23c44f05a0956ecba918a336b30c6eccf0a996d5 (diff)
Update codebase to remove clang warnings (and a couple of legit errors
it found)
Diffstat (limited to 'src/ics.c')
-rwxr-xr-xsrc/ics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ics.c b/src/ics.c
index 5a8d2cd..fba1af6 100755
--- a/src/ics.c
+++ b/src/ics.c
@@ -257,7 +257,7 @@ Return value:
//
// Handle double jumps.
//
- if (abs(RANK(cTo) - RANK(cFrom)) > 1)
+ if (RANK(cTo) - RANK(cFrom) > 1)
{
mv.bvFlags = MOVE_FLAG_SPECIAL;
}