2bf08981dfb1f76cbcceaf9d3f60039d7f51dcf1
galt
  Tue Apr 24 10:53:20 2012 -0700
fixes for 32-bit compile
diff --git src/lib/basicBed.c src/lib/basicBed.c
index 3be663d..1295c65 100644
--- src/lib/basicBed.c
+++ src/lib/basicBed.c
@@ -1581,31 +1581,31 @@
 	}    
     /* Validate bed-plus fields */
     asCol = slElementFromIx(as->columnList, wordCount);
     for (i=wordCount; i<fieldCount; ++i)
 	{
 	enum asTypes type = asCol->lowType->type;
 	if (! (asCol->isList || asCol->isArray))
 	    {
 	    if (asTypesIsInt(type))
 		lineFileAllInts(lf, row, i, NULL, !asTypesIsUnsigned(type), asTypesIntSize(type), asTypesIntSizeDescription(type), FALSE);
 	    else if (asTypesIsFloating(type))
 		lineFileNeedDouble(lf, row, i);
 	    else if (type == t_string)
 		{
 		if (strlen(row[i]) > 255)
-		    lineFileAbort(lf, "expecting length (%ld) of string (%s) not to exceed 255 in field %s", strlen(row[i]), row[i], asCol->name);
+		    lineFileAbort(lf, "expecting length (%llu) of string (%s) not to exceed 255 in field %s", (unsigned long long)strlen(row[i]), row[i], asCol->name);
 		}
 	    }
 	else if (asCol->isList)
 	    {
 	    if (asTypesIsInt(type))
 		{
 		count = lineFileAllIntsArray(lf, row, i, NULL, 1024,
 		    !asTypesIsUnsigned(type), asTypesIntSize(type), asTypesIntSizeDescription(type), FALSE);
 		if (asCol->fixedSize > 0)
 		    {
 		    if (asCol->fixedSize != count)
 			lineFileAbort(lf, "expecting %d elements in %s list, found %d", asCol->fixedSize, asCol->name, count);
 		    }
 		else
 		    {