]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/mempool-fmt.c
Merge branch 'master' into dev-sizet
[libucw.git] / ucw / mempool-fmt.c
index 91b39cb6306235e973ed5024a67973c5af6e3f47..1b98a2d39df9d5ffabac8f6b17b983fc9f585271 100644 (file)
@@ -35,7 +35,7 @@ mp_vprintf_at(struct mempool *mp, size_t ofs, const char *fmt, va_list args)
        }
       while (cnt < 0);
     }
-  else if ((uns)cnt >= mp_avail(mp) - ofs)
+  else if ((uint)cnt >= mp_avail(mp) - ofs)
     {
       ret = mp_grow(mp, ofs + cnt + 1) + ofs;
       va_copy(args2, args);