From c82fffd0c8041b04489af56f98d3a223861f167e Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Mon, 2 Jun 2014 19:18:04 +0200 Subject: [PATCH] fbpool: Converted to size_t. --- ucw/fastbuf.h | 2 +- ucw/fb-pool.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ucw/fastbuf.h b/ucw/fastbuf.h index 99a9dd47..cc0125b8 100644 --- a/ucw/fastbuf.h +++ b/ucw/fastbuf.h @@ -481,7 +481,7 @@ void fbpool_init(struct fbpool *fb); /** Initialize a new mempool fastbuf. **/ * Start a new continuous block and prepare for writing (see <>). * Provide the memory pool you want to use for this block as @mp. **/ -void fbpool_start(struct fbpool *fb, struct mempool *mp, uns init_size); +void fbpool_start(struct fbpool *fb, struct mempool *mp, size_t init_size); /** * Close the block and return the address of its start (see <>). * The length can be determined by calling <>. diff --git a/ucw/fb-pool.c b/ucw/fb-pool.c index e8628dcd..7ef0d557 100644 --- a/ucw/fb-pool.c +++ b/ucw/fb-pool.c @@ -29,7 +29,7 @@ fbpool_spout(struct fastbuf *b) } void -fbpool_start(struct fbpool *b, struct mempool *mp, uns init_size) +fbpool_start(struct fbpool *b, struct mempool *mp, size_t init_size) { b->mp = mp; b->fb.buffer = b->fb.bstop = b->fb.bptr = mp_start(mp, init_size); -- 2.39.5