We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In src.exec/dpexec/dxThreadMain.h, lock_type is defined as:
typedef volatile int lock_type
Then, throughout the code, it is used as:
DXlock(&lock,...)
where DXlock is defined (in src/exec/libdx/lock.c) as:
int DXlock(lock_type *l, int who) { struct _lock *_lock = *(struct _lock **)l;
So, we in fact cast an integer to a pointer - which does not work on 64-bit Linux, where an integer is still 32-bit.
Ooops.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In src.exec/dpexec/dxThreadMain.h, lock_type is defined as:
typedef volatile int lock_type
Then, throughout the code, it is used as:
DXlock(&lock,...)
where DXlock is defined (in src/exec/libdx/lock.c) as:
int DXlock(lock_type *l, int who) { struct _lock *_lock = *(struct _lock **)l;
So, we in fact cast an integer to a pointer - which does not work on 64-bit Linux, where an integer is still 32-bit.
Ooops.
The text was updated successfully, but these errors were encountered: