]> mj.ucw.cz Git - libucw.git/blobdiff - lib/sorter.h
documented fbpool briefly
[libucw.git] / lib / sorter.h
index ed82eb34893fad81c80350a06975d264267b56da..71fcff1ecc6cbe4011290d7dbfe4b899996e1ad3 100644 (file)
@@ -401,7 +401,7 @@ P(presort)(struct fastbuf **fb1, struct fastbuf **fb2)
        }
       for(;;)
        {
        }
       for(;;)
        {
-         current = (byte *) ALIGN_TO((addr_int_t) current, CPU_STRUCT_ALIGN);
+         current = (byte *) ALIGN_TO((uintptr_t) current, CPU_STRUCT_ALIGN);
          if (current + sizeof(*this) > bufend)
            break;
          this = (SORT_NODE *) current;
          if (current + sizeof(*this) > bufend)
            break;
          this = (SORT_NODE *) current;