src/lib/udc.c 1.32
1.32 2010/01/05 17:32:07 angie
In debug message, cast pointer to 32-bit unsigned instead of 64-bit so it doesn't break the 32-bit build.
Index: src/lib/udc.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/udc.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -b -B -U 4 -r1.31 -r1.32
--- src/lib/udc.c 19 Dec 2009 00:57:09 -0000 1.31
+++ src/lib/udc.c 5 Jan 2010 17:32:07 -0000 1.32
@@ -1026,10 +1026,10 @@
int nextClearBit = bitFindClear(bits, partBitStart, partBitEnd);
while (nextClearBit < partBitEnd)
{
int clearBlock = nextClearBit + partOffset;
- warn("... udcFile 0x%08llx: bit for block %d (%lld..%lld] is not set",
- (bits64)file, clearBlock,
+ warn("... udcFile 0x%04lx: bit for block %d (%lld..%lld] is not set",
+ (unsigned long)file, clearBlock,
((long long)clearBlock * udcBlockSize), (((long long)clearBlock+1) * udcBlockSize));
gotUnset = TRUE;
int nextSetBit = bitFindSet(bits, nextClearBit, partBitEnd);
nextClearBit = bitFindClear(bits, nextSetBit, partBitEnd);