]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/clists.h
Strtonum: Support u32 and s32
[libucw.git] / ucw / clists.h
index 2f8487ae0eb51c7632a0f938ea88bbc48353c6f4..d327479fdd8924f2807b0c94bb26d75e6ac84376 100644 (file)
@@ -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.
  **/
 /**
  * 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;
   CLIST_FOR_EACH(cnode *, n, *l)
     i++;
   return i;