Skip to content

Commit 300c492

Browse files
Fix declaration of struct ffiTestSl2
it's long long rather than long for LLP64 (WIN64) compatibility
1 parent 4dae90a commit 300c492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platforms/Cross/plugins/SqueakFFIPrims/sqFFITestFuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ typedef struct ffiTestBiggerStruct {
4646

4747
typedef struct Sd2 {double a,b;} ffiTestSd2;
4848
typedef struct Sf2 {float a,b;} ffiTestSf2;
49-
typedef struct Sl2 {long a,b;} ffiTestSl2;
49+
typedef struct Sl2 {long long a,b;} ffiTestSl2;
5050
typedef struct Si2 {int a,b;} ffiTestSi2;
5151
typedef struct Ss2 {short a,b;} ffiTestSs2;
5252
typedef struct Ssi {short a; int b;} ffiTestSsi;

0 commit comments

Comments
 (0)