X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Fsorter%2Farray-simple.h;h=aa9b7806e49fdb49ab8cad3ed4d58fecfcc6d127;hb=c8ffd6e3b4fc8fd6437c04282c357b2dc290bbbd;hp=42c5f470ca9ca0e5d1556ece2566923dac04626d;hpb=1ece9231a33a204e796083a8d6290e4c5738b13f;p=libucw.git diff --git a/ucw/sorter/array-simple.h b/ucw/sorter/array-simple.h index 42c5f470..aa9b7806 100644 --- a/ucw/sorter/array-simple.h +++ b/ucw/sorter/array-simple.h @@ -34,8 +34,8 @@ * ASORT_EXTRA_ARGS extra arguments for the sort function (they are always * visible in all the macros supplied above), starts with comma * - * After including this file, a function ASORT_PREFIX(sort)(uns array_size) - * or ASORT_PREFIX(sort)(ASORT_KEY_TYPE *array, uns array_size) [if ASORT_ELT + * After including this file, a function ASORT_PREFIX(sort)(uint array_size) + * or ASORT_PREFIX(sort)(ASORT_KEY_TYPE *array, uint array_size) [if ASORT_ELT * is not defined] is declared and all parameter macros are automatically * undef'd. */ @@ -69,11 +69,11 @@ * sorted. If the macro is provided, this parameter is omitted. In that case, * you can sort global variables or pass your structure by @ASORT_EXTRA_ARGS. **/ -static void ASORT_PREFIX(sort)(ASORT_ARRAY_ARG uns array_size ASORT_EXTRA_ARGS) +static void ASORT_PREFIX(sort)(ASORT_ARRAY_ARG uint array_size ASORT_EXTRA_ARGS) { - struct stk { int l, r; } stack[8*sizeof(uns)]; + struct stk { int l, r; } stack[8*sizeof(uint)]; int l, r, left, right, m; - uns sp = 0; + uint sp = 0; ASORT_KEY_TYPE pivot; if (array_size <= 1)