msvcrt: Use size_t to store indexes in qsort

Piotr Caban piotr at
Tue Jun 17 05:48:40 CDT 2014

It also avoids potential overflow while computing median position (found 
by Frédéric Delanoy).

  dlls/msvcrt/misc.c | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcrt-Use-size_t-to-store-indexes-in-qsort.txt
Type: text/x-patch
Size: 1048 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list