We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ff29eb commit e3ad29dCopy full SHA for e3ad29d
1 file changed
src/com/sun/jna/Structure.java
@@ -2080,10 +2080,8 @@ public FFIType(Structure ref) {
2080
size = sf.size;
2081
}
2082
2083
- if( (! Platform.isWindows()) && (
2084
- (Platform.isIntel() && Platform.is64Bit())
2085
- || (Platform.isARM())
2086
- )) {
+ if ((Platform.isIntel() && Platform.is64Bit() && !Platform.isWindows())
+ || Platform.isARM()) {
2087
// System V x86-64 ABI requires, that in a union aggregate,
2088
// that contains Integer and Double members, the parameters
2089
// must be passed in the integer registers. I.e. in the case
0 commit comments