| changeset 337 | c89695ed29f0 |
| parent 322 | 66c281524c98 |
| child 338 | 47f3e27cb978 |
1.1 --- a/librazor/util.c Tue Jan 06 17:33:37 2009 +0000 1.2 +++ b/librazor/util.c Thu Jan 08 17:36:50 2009 +0000 1.3 @@ -194,7 +194,7 @@ 1.4 mp = map; 1.5 mstart = map; 1.6 mend = map + nelem; 1.7 - pivot = base + (random() % nelem) * size; 1.8 + pivot = base + (rand() % nelem) * size; 1.9 1.10 while (p < end) { 1.11 result = ctx->compare(p, pivot, ctx->data);