diff options
author | Roland McGrath <roland@gnu.org> | 1995-09-07 21:04:57 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-09-07 21:04:57 +0000 |
commit | cbf48a6ba07f2a036e172a6c71fb701ef3adc537 (patch) | |
tree | d3634452abed62bc4017bb2116e0a747d3f2230a /stdlib/msort.c | |
parent | 1571a01695e14ec40bbfb41e15161797fa24df96 (diff) | |
download | glibc-cbf48a6ba07f2a036e172a6c71fb701ef3adc537.tar glibc-cbf48a6ba07f2a036e172a6c71fb701ef3adc537.tar.gz glibc-cbf48a6ba07f2a036e172a6c71fb701ef3adc537.tar.bz2 glibc-cbf48a6ba07f2a036e172a6c71fb701ef3adc537.zip |
(msort_with_tmp): Fixed alignment test. B1 and B2 are always congruent; just test that B1 is aligned.
Diffstat (limited to 'stdlib/msort.c')
-rw-r--r-- | stdlib/msort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/msort.c b/stdlib/msort.c index 959aaa3dda..21fbbfb2bf 100644 --- a/stdlib/msort.c +++ b/stdlib/msort.c @@ -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) { |