X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fmempool-fmt.c;h=91b39cb6306235e973ed5024a67973c5af6e3f47;hb=7334fc5c5cfe4848b8855ad54b74a0eec8f6ac08;hp=90273af20e6284401b47aa4dafb78eb27db8899a;hpb=200f341137e78ef3db7f29726651f35afbccbb0f;p=libucw.git diff --git a/ucw/mempool-fmt.c b/ucw/mempool-fmt.c index 90273af2..91b39cb6 100644 --- a/ucw/mempool-fmt.c +++ b/ucw/mempool-fmt.c @@ -16,7 +16,7 @@ #include static char * -mp_vprintf_at(struct mempool *mp, uns ofs, const char *fmt, va_list args) +mp_vprintf_at(struct mempool *mp, size_t ofs, const char *fmt, va_list args) { char *ret = mp_grow(mp, ofs + 1) + ofs; va_list args2; @@ -67,7 +67,7 @@ mp_printf(struct mempool *p, const char *fmt, ...) char * mp_append_vprintf(struct mempool *mp, char *ptr, const char *fmt, va_list args) { - uns ofs = mp_open(mp, ptr); + size_t ofs = mp_open(mp, ptr); ASSERT(ofs && !ptr[ofs - 1]); return mp_vprintf_at(mp, ofs - 1, fmt, args); }