Skip to content

Commit

Permalink
Pointer.SIZE -> Native.POINTER_SIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
mawinter69 committed Jun 6, 2019
1 parent 5da93f4 commit 7b815d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/util/ProcessTree.java
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,7 @@ private SolarisProcess(int pid) throws IOException {
* Read the remainder of psinfo_t differently depending on whether the
* Java process is 32-bit or 64-bit.
*/
if (Pointer.SIZE == 8) {
if (Native.POINTER_SIZE == 8) {
psinfo.seek(236); // offset of pr_argc
argc = adjust(psinfo.readInt());
argp = adjustL(psinfo.readLong());
Expand Down

0 comments on commit 7b815d8

Please sign in to comment.