msvcrt: Use size_t to store indexes in qsort

Piotr Caban piotr at codeweavers.com
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: <http://www.winehq.org/pipermail/wine-patches/attachments/20140617/4d35d298/attachment.bin>


More information about the wine-patches mailing list