/*
- * $Id: MemObject.cc,v 1.2 2003/02/05 10:36:48 robertc Exp $
+ * $Id: MemObject.cc,v 1.3 2003/02/08 17:43:18 hno Exp $
*
* DEBUG: section 19 Store Memory Primitives
* AUTHOR: Robert Collins
void
MemObject::write ( StoreIOBuffer writeBuffer, STMCB *callback, void *callbackData)
{
- debug(19, 6) ("memWrite: offset %lu len %d\n", writeBuffer.offset, writeBuffer.length);
+ debug(19, 6) ("memWrite: offset %lu len %ld\n", (unsigned long)writeBuffer.offset, (long)writeBuffer.length);
/* the offset is into the content, not the headers */
writeBuffer.offset += (_reply ? _reply->hdr_sz : 0);
/*
- * $Id: stmem.cc,v 1.74 2003/01/23 00:37:26 robertc Exp $
+ * $Id: stmem.cc,v 1.75 2003/02/08 17:43:18 hno Exp $
*
* DEBUG: section 19 Store Memory Primitives
* AUTHOR: Harvest Derived
mem_hdr::write (StoreIOBuffer const &writeBuffer)
{
// mem_node *tempNode;
- debug(19, 6) ("mem_hdr::write: offset %lu len %d, object end %lu\n", writeBuffer.offset, writeBuffer.length, endOffset());
+ debug(19, 6) ("mem_hdr::write: offset %lu len %ld, object end %lu\n", (unsigned long)writeBuffer.offset, (long)writeBuffer.length, (unsigned long)endOffset());
if (unionNotEmpty(writeBuffer)) {
fatal("Attempt to overwrite already in-memory data\n");