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

short int is parsed apparently incorrectly #267

rdp opened this Issue Feb 16, 2012 · 1 comment


None yet
2 participants

rdp commented Feb 16, 2012

Hello again. Sorry for the flood.

typedef struct sg_io_hdr
  unsigned short int iovec_count;
} sg_io_hdr_t;

this parses as

public class sg_io_hdr_t extends Structure {
    public int iovec_count;

I "guess" it should be a short in java?


This comment has been minimized.


ochafik commented Feb 19, 2012

Hi Roger,

Thanks for the "flood", much appreciated ;-)

I've committed and deployed a fix for that issue that went unnoticed for way too long, thank you for reporting it !


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment