X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsorter.h;h=71fcff1ecc6cbe4011290d7dbfe4b899996e1ad3;hb=d5e8872563f6fde8299db971ffb6494c2438c590;hp=ed82eb34893fad81c80350a06975d264267b56da;hpb=7bd7e6e6c719585454346df74db211b9aba76ce9;p=libucw.git diff --git a/lib/sorter.h b/lib/sorter.h index ed82eb34..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_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;