From bf7759a7bf2530612cfe9cfb66ac700b72ee34b6 Mon Sep 17 00:00:00 2001 From: fcolin Date: Mon, 19 May 2008 15:51:08 +0000 Subject: correction pb comparaison unsigned/singed --- src/ivyfifo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ivyfifo.h') diff --git a/src/ivyfifo.h b/src/ivyfifo.h index 14d0106..148d2b5 100644 --- a/src/ivyfifo.h +++ b/src/ivyfifo.h @@ -22,13 +22,13 @@ unsigned int IvyFifoSize(const IvyFifoBuffer *f); unsigned int IvyFifoAvail(const IvyFifoBuffer *f); -unsigned int IvyFifoRead(IvyFifoBuffer *f, char *buf, int buf_size); +unsigned int IvyFifoRead(IvyFifoBuffer *f, char *buf, unsigned int buf_size); unsigned int IvyFifoSendSocket (IvyFifoBuffer *f, const int fd); int IvyFifoIsFull (const IvyFifoBuffer *f) ; -void IvyFifoWrite(IvyFifoBuffer *f, const char *buf, int size); +void IvyFifoWrite(IvyFifoBuffer *f, const char *buf, unsigned int size); -- cgit v1.1