pdqsort icon indicating copy to clipboard operation
pdqsort copied to clipboard

Compile warnings MSVC142/143

Open mrboojum opened this issue 3 years ago • 1 comments

When sorting 64 bit ints I got some warnings on windows/MSVC142 pdqsort\pdqsort.h(278,26): warning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data ... pdqsort\pdqsort.h(143,1): warning C4244: '+=': conversion from '__int64' to 'int', possible loss of data

I can resolve them locally by replacing int with int64

mrboojum avatar Jul 07 '22 10:07 mrboojum

I think you have an outdated version of pdqsort.h, can you update it and see if that resolves it?

orlp avatar Jul 07 '22 11:07 orlp