03c9391c8721e8a891e1a6cbdc43a2bb492daddd braney Tue Jul 3 15:52:37 2018 -0700 change BIGNUM to INT_MAX because we need 2X! diff --git src/hg/lib/hgFind.c src/hg/lib/hgFind.c index 7006627..313a307 100644 --- src/hg/lib/hgFind.c +++ src/hg/lib/hgFind.c @@ -2493,31 +2493,31 @@ static struct hgPositions *genomePos(char *db, char *spec, char **retChromName, int *retWinStart, int *retWinEnd, struct cart *cart, boolean showAlias, boolean useWeb, char *hgAppName) /* Search for positions in genome that match user query. * Return an hgp if the query results in a unique position. * Otherwise display list of positions, put # of positions in retWinStart, * and return NULL. */ { struct hgPositions *hgp = NULL; char *terms[16]; int termCount = 0; int i = 0; boolean multiTerm = FALSE; char *chrom = NULL; -int start = BIGNUM; +int start = INT_MAX; int end = 0; termCount = chopByChar(cloneString(spec), ';', terms, ArraySize(terms)); multiTerm = (termCount > 1); for (i = 0; i < termCount; i++) { trimSpaces(terms[i]); if (isEmpty(terms[i])) continue; hgp = hgPositionsFind(db, terms[i], "", hgAppName, cart, multiTerm); if (hgp == NULL || hgp->posCount == 0) { hgPositionsFree(&hgp); warn("Sorry, couldn't locate %s in %s %s\n", terms[i],