mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
(msort_with_tmp): Fixed alignment test. B1 and B2 are always congruent; just test that B1 is aligned.
This commit is contained in:
parent
1571a01695
commit
cbf48a6ba0
@ -45,7 +45,7 @@ DEFUN(msort_with_tmp, (b, n, s, cmp, t),
|
||||
|
||||
tmp = t;
|
||||
|
||||
if (s == OPSIZ && (b1 - b2) % OPSIZ == 0)
|
||||
if (s == OPSIZ && (b1 - (char *) 0) % OPSIZ == 0)
|
||||
/* We are operating on aligned words. Use direct word stores. */
|
||||
while (n1 > 0 && n2 > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user