summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/buffering.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/buffering.c b/apps/buffering.c
index 676d05d3d6..d3a30088e6 100644
--- a/apps/buffering.c
+++ b/apps/buffering.c
@@ -685,7 +685,8 @@ static bool buffer_handle(int handle_id)
stop = true;
DEBUGF( "%s(): Preventing handle corruption: h1.id:%d h2.id:%d"
" copy_n:%lu overlap:%ld h1.filerem:%lu\n", __func__,
- h->id, h->next->id, copy_n, overlap, h->filerem);
+ h->id, h->next->id, (unsigned long)copy_n, overlap,
+ (unsigned long)h->filerem);
copy_n -= overlap;
}