X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Fbbuf.c;h=36ece2a066794629be17c20a87b50730fa8108ee;hb=bc2bbfcbe76e78db9cde27455ddbcfe1ddcc61d6;hp=91ec858468e6733fb261c1310cc3c685780088cf;hpb=c1eecd27d6e51eabc43f4d7eb6e00fef33fad17b;p=libucw.git diff --git a/ucw/bbuf.c b/ucw/bbuf.c index 91ec8584..36ece2a0 100644 --- a/ucw/bbuf.c +++ b/ucw/bbuf.c @@ -32,7 +32,7 @@ bb_vprintf_at(bb_t *bb, size_t ofs, const char *fmt, va_list args) } while (cnt < 0); } - else if ((uns)cnt >= bb->len - ofs) + else if ((uint)cnt >= bb->len - ofs) { bb_do_grow(bb, ofs + cnt + 1); va_copy(args2, args);