70295536af9a4eae49170130e07221782f12397b
braney
  Tue Mar 29 10:03:01 2011 -0700
add cast to resolve problems building on 32-bit machines
diff --git src/utils/bedRemoveOverlap/bedRemoveOverlap.c src/utils/bedRemoveOverlap/bedRemoveOverlap.c
index fa2292b..203a2ea 100644
--- src/utils/bedRemoveOverlap/bedRemoveOverlap.c
+++ src/utils/bedRemoveOverlap/bedRemoveOverlap.c
@@ -56,31 +56,31 @@
     if (lineSize >= maxLineSize)
         errAbort("Line too long (%d chars, max is %d) line %d of %s", lineSize, 
 	    maxLineSize, lf->lineIx, lf->fileName);
 
     /* Swap existing prevLine and curLine buffers. */
     char *tmp = prevLine;
     prevLine = curLine;
     curLine = tmp;
 
     /* Save current line for use next time through loop. */
     strcpy(curLine, line);
 
     /* Parse current line. */
     wordCount = chopLine(line, row);
     if (wordCount == ArraySize(row))
-         errAbort("Too many fields (%d max is %lu) line %d of %s", wordCount, ArraySize(row),
+         errAbort("Too many fields (%d max is %lu) line %d of %s", wordCount, (unsigned long)ArraySize(row),
 	     lf->lineIx, lf->fileName);
     char *chrom = row[0];
     unsigned int start = lineFileNeedNum(lf, row, 1);
     unsigned int end = lineFileNeedNum(lf, row, 2);
 
     if (firstTime)
         {
 	/* First time through the loop don't output anything. */
 	firstTime = FALSE;
 	prevChrom = cloneString(chrom);
 	}
     else
         {
 	/* Check to see if we are on a new chromosome. */
 	int cmp = strcmp(chrom, prevChrom);