| author | J. Ali Harlow <ali@juiblex.co.uk> |
| Thu Jan 08 17:36:50 2009 +0000 (2009-01-08) | |
| changeset 337 | c89695ed29f0 |
| parent 336 | 2d4107c6683d |
| child 338 | 47f3e27cb978 |
| librazor/util.c | file | annotate | diff | revisions |
1.1 --- a/librazor/util.c Thu Jan 08 17:29:31 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);