在 2024/1/11 23:41, Antonin Décimo 写道:
The non-suffixed macro GetModuleHandle depends on whether the file is
being compiled in Unicode mode or not. Prefer using the char string
literal in this simple case.

Signed-off-by: Antonin Décimo <anto...@tarides.com>
---
  mingw-w64-libraries/winpthreads/src/misc.c   | 2 +-
  mingw-w64-libraries/winpthreads/src/thread.c | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


In my opinion the W variants should be preferred. Most A functions convert their arguments to wide strings then call their W variants anyway.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to