a01bf4 fix the int overflow avoidance patch

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