From 302b78fe80edb8c16a171b947ba9e488270739ee Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 7 Dec 2014 14:28:20 +0000 Subject: [PATCH] qsort: fix _wqsort From: Will Sowerbutts [and changed from int to short just in case we ever do anything fun with some of the odder 32bit CPUs: Alan Cox] --- Library/libs/qsort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/libs/qsort.c b/Library/libs/qsort.c index 68c3be08..3dbebaa5 100644 --- a/Library/libs/qsort.c +++ b/Library/libs/qsort.c @@ -26,7 +26,7 @@ static void _wqsort(void *basep, int lo, int hi, int k; register int i, j, t; register int *p = &k; - char *base = basep; + short *base = basep; while (hi > lo) { -- 2.34.1