From 4796e40d273e687a5427b2b36c06060d0757d398 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Wed, 20 Aug 2008 13:54:31 +0000 Subject: [PATCH] Inline tr_compareUint16() in this case --- libtransmission/peer-mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/peer-mgr.c b/libtransmission/peer-mgr.c index 866b276bc..9355db7f8 100644 --- a/libtransmission/peer-mgr.c +++ b/libtransmission/peer-mgr.c @@ -549,7 +549,7 @@ compareRefillPiece (const void * aIn, const void * bIn) return a->peerCount < b->peerCount ? -1 : 1; /* otherwise go with our random seed */ - return tr_compareUint16( a->random, b->random ); + return a->random - b->random; } static int