public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bd8d58
)
qsort: fix _wqsort
author
Alan Cox
<alan@linux.intel.com>
Sun, 7 Dec 2014 14:28:20 +0000
(14:28 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 7 Dec 2014 14:28:20 +0000
(14:28 +0000)
From: Will Sowerbutts <will@sowerbutts.com>
[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
patch
|
blob
|
history
diff --git
a/Library/libs/qsort.c
b/Library/libs/qsort.c
index
68c3be0
..
3dbebaa
100644
(file)
--- 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)
{