commit | be91da60c4ae62a76099279500810c8ffbef4da1 | [log] [tgz] |
---|---|---|
author | Daniel Starke via Mingw-w64-public <mingw-w64-public@lists.sourceforge.net> | Tue Jan 14 23:11:55 2025 +0100 |
committer | LIU Hao <lh_mouse@126.com> | Wed Jan 15 09:26:18 2025 +0800 |
tree | f9d6cb9292fa446c2dc8e99ba43177b328c1f724 | |
parent | 9f56d8ee7001d98506c45ec5972281be7eff59d5 [diff] |
headers: Fix wrong return type for PathQuoteSpacesA and PathQuoteSpacesW [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-email@gmx.net> Signed-off-by: LIU Hao <lh_mouse@126.com>