Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JNA 5.0 Depricates Pointer.SIZE #191

Closed
PeteSL opened this issue Nov 8, 2018 · 1 comment
Closed

JNA 5.0 Depricates Pointer.SIZE #191

PeteSL opened this issue Nov 8, 2018 · 1 comment
Labels

Comments

@PeteSL
Copy link

PeteSL commented Nov 8, 2018

Please change line 316 in PcapNetworkInterface.java from:
if (Pointer.SIZE == 4) {
to
if (Native.POINTER_SIZE == 4) {

This is compatible with JNA 4.x.

@kaitoy
Copy link
Owner

kaitoy commented Nov 12, 2018

Thank you for the information.

I fixed it and released .7.4 and 2.0.0-alpha.1 with the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants