在 2023/3/19 09:26, Costas Argyris 写道:
 From d48a1e302ccd8de735b8129b2e212adb8e2fbc78 Mon Sep 17 00:00:00 2001
From: Costas Argyris<[email protected]>
Date: Sun, 19 Mar 2023 01:01:42 +0000
Subject: [PATCH] Fix mbrtoc32 function.

As mentioned inhttps://sourceforge.net/p/mingw-w64/bugs/957/
this function returns the wrong value.

After correcting the bad array index the result is correct.
---
  mingw-w64-crt/misc/uchar_mbrtoc32.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks for catching this. This patch looks correct to me. Pushed to master now.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to