From 99f037e210e90f5ced94fb72cc7496a92a269b5c Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 21 May 2011 23:08:53 +0200 Subject: [PATCH] Reacted on -Wextra -Wno-unused-parameter warnings of gcc for buffer.c --- libisofs/buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libisofs/buffer.c b/libisofs/buffer.c index 100e981..56d043c 100644 --- a/libisofs/buffer.c +++ b/libisofs/buffer.c @@ -150,7 +150,7 @@ void iso_ring_buffer_free(IsoRingBuffer *buf) int iso_ring_buffer_write(IsoRingBuffer *buf, uint8_t *data, size_t count) { size_t len; - int bytes_write = 0; + size_t bytes_write = 0; if (buf == NULL || data == NULL) { return ISO_NULL_POINTER; @@ -206,7 +206,7 @@ int iso_ring_buffer_write(IsoRingBuffer *buf, uint8_t *data, size_t count) int iso_ring_buffer_read(IsoRingBuffer *buf, uint8_t *dest, size_t count) { size_t len; - int bytes_read = 0; + size_t bytes_read = 0; if (buf == NULL || dest == NULL) { return ISO_NULL_POINTER;