]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add files via upload
authorNiadb <34917535+Niadb@users.noreply.github.com>
Fri, 19 Jun 2020 09:32:11 +0000 (03:32 -0600)
committerGitHub <noreply@github.com>
Fri, 19 Jun 2020 09:32:11 +0000 (03:32 -0600)
lib/dictBuilder/cover.c

index da54ef15f2b89ebf18bd92038d55d36f3fe5d5f5..dac4e14224eab8fdef9ddd2ec86292219b4ece82 100644 (file)
@@ -261,7 +261,7 @@ static int COVER_cmp8(COVER_ctx_t *ctx, const void *lp, const void *rp) {
  * NOTE: g_ctx must be set to call this function.  A global is required because
  * qsort doesn't take an opaque pointer.
  */
-static int COVER_strict_cmp(const void *lp, const void *rp) {
+static int WIN_CDECL COVER_strict_cmp(const void *lp, const void *rp) {
   int result = COVER_cmp(g_ctx, lp, rp);
   if (result == 0) {
     result = lp < rp ? -1 : 1;
@@ -271,7 +271,7 @@ static int COVER_strict_cmp(const void *lp, const void *rp) {
 /**
  * Faster version for d <= 8.
  */
-static int COVER_strict_cmp8(const void *lp, const void *rp) {
+static int WIN_CDECL COVER_strict_cmp8(const void *lp, const void *rp) {
   int result = COVER_cmp8(g_ctx, lp, rp);
   if (result == 0) {
     result = lp < rp ? -1 : 1;