2bf08981dfb1f76cbcceaf9d3f60039d7f51dcf1 galt Tue Apr 24 10:53:20 2012 -0700 fixes for 32-bit compile diff --git src/utils/bedToBigBed/bedToBigBed.c src/utils/bedToBigBed/bedToBigBed.c index edac448..7f8408b 100644 --- src/utils/bedToBigBed/bedToBigBed.c +++ src/utils/bedToBigBed/bedToBigBed.c @@ -118,31 +118,31 @@ bedN = 15; bedP = fieldCount - bedN; } char *asText = bedAsDef(bedN, fieldCount); as = asParseText(asText); allocedAs = TRUE; freeMem(asText); } else { fieldCount = slCount(as->columnList); // if the .as is specified, the -type must be also so that the number of standard BED columns is known. bedN will be >0. asCompareObjAgainstStandardBed(as, bedN, TRUE); // abort if bedN columns are not standard } if (fieldCount > ArraySize(row)) - errAbort("Too many fields [%d], current maximum fields limit is %lu", fieldCount, ArraySize(row)); + errAbort("Too many fields [%d], current maximum fields limit is %lu", fieldCount, (unsigned long)ArraySize(row)); lastField = fieldCount - 1; *retFieldCount = fieldCount; if (bedP == -1) // user did not specify how many plus columns there are. { bedP = fieldCount - bedN; if (bedP < 1) errAbort("fieldCount input (%d) did not match the specification (%s)\n" , fieldCount, optionVal("type", "")); } if (fieldCount != bedN + bedP) errAbort("fieldCount input (%d) did not match the specification (%s)\n" , fieldCount, optionVal("type", "")); }