6fbe6cfae76f957aa6d97744fad16fa47544efe6 angie Wed Apr 27 11:57:23 2011 -0700 Fix for something caught only by Ubuntu gcc's more conservative warnings:lineFileOpen's second argument is a bool, but a quoted string was passed in. diff --git src/hg/lib/liftOver.c src/hg/lib/liftOver.c index fca013e..cd24065 100644 --- src/hg/lib/liftOver.c +++ src/hg/lib/liftOver.c @@ -1197,31 +1197,31 @@ } } lineFileClose(&lf); return ct; } int liftOverBedOrPositions(char *fileName, struct hash *chainHash, double minMatch, double minBlocks, int minSizeT, int minSizeQ, int minChainT, int minChainQ, bool fudgeThick, FILE *mapped, FILE *unmapped, bool multiple, char *chainTable, int *errCt) /* Sniff the first line of the file, and determine whether it's a */ /* bed, a positions file, or neither. */ { -struct lineFile *lf = lineFileOpen(fileName, "TRUE"); +struct lineFile *lf = lineFileOpen(fileName, TRUE); char *line = NULL; char *chrom, *start, *end; boolean isPosition = FALSE; lineFileNextReal(lf, &line); if (!line) return 0; chrom = line; start = strchr(chrom, ':'); if (start) { *start++ = 0; end = strchr(start, '-'); if (end) { *end++ = 0;