pos-list.c
/***************************************************************************
 *  Compare two int64_t values for sort functions.  Difference may
 *  exceed the range of an int, so don't just subtract.
 *
 *  History: 
 *  Date        Name        Modification
 *  2021-04-17  Jason Bacon Begin
 ***************************************************************************/
Compare two int64_t values for sort functions.  Difference may
exceed the range of an int, so don't just subtract.

Date        Name        Modification
2021-04-17  Jason Bacon Begin
Compare two int64_t values for sort functions . Difference may exceed the range of an int so don ' t just subtract . Date Name Modification 2021 - 04 - 17 Jason Bacon Begin
int     position_cmp_ascending(const int64_t *pos1, const int64_t *pos2)
{
    if ( *pos1 == *pos2 )
	return 0;
    else if ( *pos1 > *pos2 )
	return 1;
    else
	return -1;
}
int position_cmp_ascending ( const int64_t * pos1 , const int64_t * pos2 ) { if ( * pos1 == * pos2 ) return 0 ; else if ( * pos1 > * pos2 ) return 1 ; else return -1 ; }
Compare two int64_t values for sort functions.
Compare two int64_t values for sort functions .