a01bf44 fix the int overflow avoidance patch

Authored and Committed by pbrady 11 years ago
    fix the int overflow avoidance patch
    
    Don't use __cmp__ which is deprecated and retricted to C long ints