Skip to content

Commit

Permalink
windows: marry - warning about HANDLE vs int
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Feb 26, 2024
1 parent 47be365 commit 536681f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/testing/marry.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ nuts_marry_ex(
((rv = nng_listener_set_int(
l2, NNG_OPT_SOCKET_FD, fd[1])) != 0)) {
#ifdef _WIN32
CloseHandle((HANDLE) fd[0]);
CloseHandle((HANDLE) fd[1]);
_close(fd[0]);
_close(fd[1]);
#else
close(fd[0]);
close(fd[1]);
Expand Down

0 comments on commit 536681f

Please sign in to comment.