Changeset 7460


Ignore:
Timestamp:
Dec 22, 2008, 5:19:52 AM (12 years ago)
Author:
charles
Message:

(trunk libT) fix a Windows portability bug reported by Alexey

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bandwidth.c

    r7446 r7460  
    110110comparePointers( const void * a, const void * b )
    111111{
    112     return a - b;
     112    if( a != b )
     113        return a < b ? -1 : 1;
     114
     115    return 0;
    113116}
    114117
Note: See TracChangeset for help on using the changeset viewer.