Skip to content

Commit

Permalink
#17 fixed error string building in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
avivklas committed Jan 20, 2021
1 parent 721977d commit 20503ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion certstore_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ func checkStatus(s C.SECURITY_STATUS) error {
}

func (ss securityStatus) Error() string {
return fmt.Sprintf("SECURITY_STATUS 0x%08X", ss)
return fmt.Sprintf("SECURITY_STATUS 0x%08X", uint64(ss))
}

func stringToUTF16(s string) C.LPCWSTR {
Expand Down

0 comments on commit 20503ac

Please sign in to comment.