--- a/servlib/bundling/BPQBlockProcessor.cc Mon Aug 22 15:28:21 2011 +0100
+++ b/servlib/bundling/BPQBlockProcessor.cc Thu Sep 01 15:53:24 2011 +0100
@@ -85,12 +85,13 @@
{
log_info_p(LOG, "BPQBlockProcessor::prepare()");
+ (void)bundle;
(void)link;
(void)list;
- log_debug_p(LOG, "prepare(): data_length() = %lu", source->data_length());
- log_debug_p(LOG, "prepare(): data_offset() = %lu", source->data_offset());
- log_debug_p(LOG, "prepare(): full_length() = %lu", source->full_length());
+ log_debug_p(LOG, "prepare(): data_length() = %u", source->data_length());
+ log_debug_p(LOG, "prepare(): data_offset() = %u", source->data_offset());
+ log_debug_p(LOG, "prepare(): full_length() = %u", source->full_length());
// Received blocks are added to the end of the list (which
// maintains the order they arrived in) but API blocks
@@ -217,7 +218,7 @@
if ( block->data_offset() + block->data_length() != block->full_length() ) {
- log_err_p(LOG, "offset (%lu) + data len (%lu) is not equal to the full len (%lu)",
+ log_err_p(LOG, "offset (%u) + data len (%u) is not equal to the full len (%u)",
block->data_offset(), block->data_length(), block->full_length() );
*deletion_reason = BundleProtocol::REASON_BLOCK_UNINTELLIGIBLE;
return false;
@@ -225,7 +226,7 @@
if ( block->contents().buf_len() < block->full_length() ) {
- log_err_p(LOG, "block buffer len (%lu) is less than the full len (%lu)",
+ log_err_p(LOG, "block buffer len (%u) is less than the full len (%u)",
block->contents().buf_len(), block->full_length() );
*deletion_reason = BundleProtocol::REASON_BLOCK_UNINTELLIGIBLE;
return false;