X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fsorter.h;h=71fcff1ecc6cbe4011290d7dbfe4b899996e1ad3;hb=1386442ebc5b681b0ded431880198e3beb6da483;hp=11daf95a0c933d53fb2699dc15e20f52e7e85466;hpb=e30a6049a172b94b9e54d502f7b8d96746cd2187;p=libucw.git diff --git a/lib/sorter.h b/lib/sorter.h index 11daf95a..71fcff1e 100644 --- a/lib/sorter.h +++ b/lib/sorter.h @@ -401,7 +401,7 @@ P(presort)(struct fastbuf **fb1, struct fastbuf **fb2) } for(;;) { - current = (byte *) ALIGN((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;