author | cjplummer |
Thu, 15 Feb 2018 09:22:25 -0800 | |
changeset 48978 | 93996c47d36f |
parent 48977 | 083e6c55a28c |
child 48979 | 514c73a1955b |
src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c | file | annotate | diff | comparison | revisions |
--- a/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c Thu Feb 15 16:16:17 2018 +0100 +++ b/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c Thu Feb 15 09:22:25 2018 -0800 @@ -398,7 +398,7 @@ return instr; } - *mask = htonl(-1 << (32 - m)); + *mask = htonl((uint32_t)(~0) << (32 - m)); return s; }