From cf1c420cdff448ab6e50f77c7255264f27d05dd6 Mon Sep 17 00:00:00 2001 From: Yuriy Vostrikov <vostrikov@corp.mail.ru> Date: Mon, 21 Feb 2011 18:19:26 +0300 Subject: [PATCH] [core] Fix https://bugs.launchpad.net/bugs/722647 "qsort implementation fails to sort arrays greater 4GB" --- third_party/qsort_arg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/third_party/qsort_arg.c b/third_party/qsort_arg.c index e627af9c8e..7a45b09f5f 100644 --- a/third_party/qsort_arg.c +++ b/third_party/qsort_arg.c @@ -48,6 +48,7 @@ */ #include <third_party/qsort_arg.h> +#include <stdint.h> #define min(a, b) (a) < (b) ? a : b @@ -114,7 +115,7 @@ qsort_arg(void *a, size_t n, size_t es, int (*cmp)(const void *a, const void *b, *pl, *pm, *pn; - int d, + intptr_t d, r, swaptype, presorted; -- GitLab