(msort_with_tmp): Fixed alignment test. B1 and B2 are always congruent; just test that B1 is aligned.

This commit is contained in:
Roland McGrath 1995-09-07 21:04:57 +00:00
parent 1571a01695
commit cbf48a6ba0

View File

@ -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)
{