Skip to content

Commit

Permalink
FIX: suppress a signed/unsigned mismatch MSVC warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Apr 26, 2024
1 parent 735ce7d commit 9a3a117
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/f-qsort.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ loop: SWAPINIT(a, es);
pn = (char *)a + n * es;
r = min(pa - (char *)a, pb - pa);
vecswap(a, pb - r, r);
#pragma warning(suppress: 4018)
r = min(pd - pc, pn - pd - es);
vecswap(pb, pn - r, r);
if ((r = pb - pa) > es)
Expand Down

0 comments on commit 9a3a117

Please sign in to comment.