X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=ucw%2Fclists.h;h=d327479fdd8924f2807b0c94bb26d75e6ac84376;hb=bc5f818d21b7aceaf2c0e263b00aa4295211d8f9;hp=2f8487ae0eb51c7632a0f938ea88bbc48353c6f4;hpb=886df670ca5c391ffeb468dd2f30f02a81d257e6;p=libucw.git diff --git a/ucw/clists.h b/ucw/clists.h index 2f8487ae..d327479f 100644 --- a/ucw/clists.h +++ b/ucw/clists.h @@ -203,9 +203,9 @@ static inline void clist_move(clist *to, clist *from) /** * Compute the number of nodes in @l. Beware of linear time complexity. **/ -static inline uns clist_size(clist *l) +static inline uint clist_size(clist *l) { - uns i = 0; + uint i = 0; CLIST_FOR_EACH(cnode *, n, *l) i++; return i;