forked from lxn/win
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Go 1.15 checkptr failure; use golang.org/x/sys/windows.UTF16PtrTo…
…String The UTF16PtrToString version in golang.org/x/sys/windows doesn't make slices pointing past the end of an allocation. Use it instead. This lets programs using lxn/win and built with Go's race detector get a bit further. Other race/checkptr issues with lxn/win and lxn/walk remain for subsequent changes. Signed-off-by: Brad Fitzpatrick <brad@danga.com>
- Loading branch information
Showing
3 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters