在 2025-01-15 06:11, Daniel Starke via Mingw-w64-public 写道:
[1] describes PathQuoteSpacesA with return type bool and [2] describes PathQuoteSpacesW with return type bool.Both functions are currently declared with return type void in shlwapi.h. Fix this by using LWSTDAPI_(WINBOOL) as return type similar to the other functions in that header. This fixes bug report 999. See [3]. [1]: https://learn.microsoft.com/en-us/windows/win32/api/shlwapi/nf-shlwapi-pathquotespacesa [2]: https://learn.microsoft.com/en-us/windows/win32/api/shlwapi/nf-shlwapi-pathquotespacesw [3]: https://sourceforge.net/p/mingw-w64/bugs/999/ Fixes: 9d937a7f4f76 ("Add mingw-w64 header set as initial set.") Signed-off-by: Daniel Starke <daniel-em...@gmx.net> --- mingw-w64-headers/include/shlwapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks for the patch. Pushed with a little amendment in the message, 'bool' -> 'BOOL', so it's not to be mistaken for the C99 type.
-- Best regards, LIU Hao
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