Skip to content

Commit

Permalink
fix value for INVALID_HANDLE_VALUE: it is actually an unsigned long (…
Browse files Browse the repository at this point in the history
…c_void_p)

git-svn-id: https://xpra.org/svn/Xpra/trunk@23614 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Aug 28, 2019
1 parent a0458b3 commit a02aa75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/platform/win32/namedpipes/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}

INFINITE = 65535
INVALID_HANDLE_VALUE = -1
INVALID_HANDLE_VALUE = HANDLE(-1).value


class _inner_struct(Structure):
Expand Down

0 comments on commit a02aa75

Please sign in to comment.