[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 0796eb: Suppress a 'cast
from pointer to integer of differ...
GitHub
noreply at github.com
Thu Jul 7 17:00:50 UTC 2016
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: 0796ebb4b767b50d6f958f98b59d7fc7fa9a54ec
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/0796ebb4b767b50d6f958f98b59d7fc7fa9a54ec
Author: Nicolas Cellier <nicolas.cellier at sirehna.com>
Date: 2016-07-07 (Thu, 07 Jul 2016)
Changed paths:
M platforms/Cross/vm/sqVirtualMachine.c
Log Message:
-----------
Suppress a 'cast from pointer to integer of different size' warning
usqInt is guaranteed to be as long as a pointer
unsigned long is not in case of infamous LLP64
Commit: 8056ec02a44e468aa595f92f632aa63d5b8db89c
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/8056ec02a44e468aa595f92f632aa63d5b8db89c
Author: Nicolas Cellier <nicolas.cellier at sirehna.com>
Date: 2016-07-07 (Thu, 07 Jul 2016)
Changed paths:
M platforms/Cross/vm/sqHeapMap.c
M platforms/win32/vm/sqWin32Backtrace.c
Log Message:
-----------
Define ulong as usqInt for LLP64 compatibility
The intention is to copy pointer <-> ulong so ulong must be long enough !
Commit: b40aa07792fc5d51fd612cf2bf370ab86a988e88
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/b40aa07792fc5d51fd612cf2bf370ab86a988e88
Author: Nicolas Cellier <nicolas.cellier at sirehna.com>
Date: 2016-07-07 (Thu, 07 Jul 2016)
Changed paths:
M platforms/win32/vm/sqWin32Prefs.c
M platforms/win32/vm/sqWin32Window.c
Log Message:
-----------
Convert win32 hInstance or hMenu to sqInt rather than int for LLP64 compatibility
Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/706b462659bb...b40aa07792fc
More information about the Vm-dev
mailing list