Skip to content

Commit

Permalink
rename C.ulong to C.DWORD
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinZonda authored Apr 24, 2024
1 parent f261613 commit 8b5ed83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usb_winusb.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const (
ERROR_BAD_COMMAND C_DWORD = C.ERROR_BAD_COMMAND
)

func winusbError(err C.ulong) error {
func winusbError(err C.DWORD) error {
if err != C.ERROR_SUCCESS {
return C_DWORD(err)
}
Expand Down

0 comments on commit 8b5ed83

Please sign in to comment.