aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mds-server/mds-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mds-server/mds-server.c b/src/mds-server/mds-server.c
index 28fd37f..e63b1af 100644
--- a/src/mds-server/mds-server.c
+++ b/src/mds-server/mds-server.c
@@ -905,8 +905,8 @@ static int cmp_queued_interception(const void* a, const void* b)
{
const queued_interception_t* p = b; /* Highest first, so swap them. */
const queued_interception_t* q = a;
- int64_t diff = p->priority - q->priority;
- return diff < 0 ? -1 : diff > 0 ? 1 : 0;
+ return p->priority < q->priority ? -1 :
+ p->priority > q->priority ? 1 : 0;
}