diff options
author | fcolin | 2008-05-19 15:51:08 +0000 |
---|---|---|
committer | fcolin | 2008-05-19 15:51:08 +0000 |
commit | bf7759a7bf2530612cfe9cfb66ac700b72ee34b6 (patch) | |
tree | 4550b8b8279148fe2d7d7f39ef1aff3221c21193 /src/ivyfifo.h | |
parent | 09f82d4e1e6dd1672b272c314c42d5cf30c91ea8 (diff) | |
download | ivy-c-bf7759a7bf2530612cfe9cfb66ac700b72ee34b6.zip ivy-c-bf7759a7bf2530612cfe9cfb66ac700b72ee34b6.tar.gz ivy-c-bf7759a7bf2530612cfe9cfb66ac700b72ee34b6.tar.bz2 ivy-c-bf7759a7bf2530612cfe9cfb66ac700b72ee34b6.tar.xz |
correction pb comparaison unsigned/singed
Diffstat (limited to 'src/ivyfifo.h')
-rw-r--r-- | src/ivyfifo.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |