]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/binheap.h
Merge branch 'master' into table
[libucw.git] / ucw / binheap.h
index 89b4a49cf87b51d933bded35de1f345e4c721ad0..f367899c3525e78945e43d143e66ee772e079a85 100644 (file)
@@ -182,7 +182,7 @@ BH_PREFIX(init)(BH_HEAP *heap)
 #define BH_FOR_ALL(bh_px, bh_heap, bh_var)     \
 do {                                           \
   struct bh_node *bh_stack[32];                        \
 #define BH_FOR_ALL(bh_px, bh_heap, bh_var)     \
 do {                                           \
   struct bh_node *bh_stack[32];                        \
-  uns bh_sp = 0;                               \
+  uint bh_sp = 0;                              \
   if (bh_stack[0] = (bh_heap)->root.first_son)  \
     bh_sp++;                                   \
   while (bh_sp) {                              \
   if (bh_stack[0] = (bh_heap)->root.first_son)  \
     bh_sp++;                                   \
   while (bh_sp) {                              \