Prefer PTRDIFF_WIDTH in sort.c
* src/sort.c (MAX_MERGE_PENDING): Prefer PTRDIFF_WIDTH to rolling our own substitute.
This commit is contained in:
parent
85c4efc9f4
commit
9f8a5989b6
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
|
|||
minimal length. So the number of bits in a ptrdiff_t is plenty large
|
||||
enough for all cases. */
|
||||
|
||||
#define MAX_MERGE_PENDING (sizeof (ptrdiff_t) * 8)
|
||||
#define MAX_MERGE_PENDING PTRDIFF_WIDTH
|
||||
|
||||
/* Once we get into galloping mode, we stay there as long as both runs
|
||||
win at least GALLOP_WIN_MIN consecutive times. */
|
||||
|
|
Loading…
Add table
Reference in a new issue