Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars committed Jul 6, 2017
1 parent 216c2f8 commit 6006943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type Error interface {
}

func toErr(result uintptr) Error {
res := hResultError(result) // case to signed int
res := hResultError(result) // cast to signed int
if res >= 0 {
return nil
}
Expand Down

0 comments on commit 6006943

Please sign in to comment.