From: Pavel Charvat Date: Wed, 26 Sep 2007 07:06:09 +0000 (+0200) Subject: fixed bug in bugfix :-) X-Git-Tag: holmes-import~506^2~10^2~3 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=6d48f541a252422a4bd5418e2d243a7f4ab645fe;p=libucw.git fixed bug in bugfix :-) --- diff --git a/lib/sorter/s-fixint.h b/lib/sorter/s-fixint.h index b3c712bc..20cce74b 100644 --- a/lib/sorter/s-fixint.h +++ b/lib/sorter/s-fixint.h @@ -92,7 +92,7 @@ static int P(internal)(struct sort_context *ctx, struct sort_bucket *bin, struct #ifdef SORT_UNIFY if (i < n-1 && !P(compare)(&buf[i], &buf[i+1])) { - P(key) **keys = (ctx->big_buf == (void *)buf) ? (void *)workspace : ctx->big_buf; + P(key) **keys = workspace; uns n = 2; keys[0] = &buf[i]; keys[1] = &buf[i+1];