From c32c96bf9a7478e19dd62479f3a5dadfd087a49a Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Sat, 4 Aug 2007 15:39:26 +0200 Subject: [PATCH] Clear the warning --- testplugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testplugin.c b/testplugin.c index a5fecb9..d3199aa 100644 --- a/testplugin.c +++ b/testplugin.c @@ -298,7 +298,7 @@ static ssize_t buffer_handle(int handle_id) /* stop copying if it would overwrite the reading position or the next handle */ if (RINGBUF_ADD_CROSS(h->widx, copy_n, buf_ridx) >= 0 || (h->next && - RINGBUF_ADD_CROSS(h->widx, copy_n, + RINGBUF_ADD_CROSS(h->widx, copy_n, (unsigned) ((void *)h->next - (void *)buffer)) >= 0)) break; -- 2.11.4.GIT