1 --- Modules/_ctypes/libffi/src/x86/ffi64.c
2 +++ Modules/_ctypes/libffi/src/x86/ffi64.c
4 tramp = (volatile unsigned short *) &closure->tramp[0];
6 tramp[0] = 0xbb49; /* mov <code>, %r11 */
7 - *((unsigned long long * volatile) &tramp[1])
8 - = (unsigned long) ffi_closure_unix64;
9 + tramp[1] = (unsigned long) ffi_closure_unix64;
10 + tramp[2] = ((unsigned long) ffi_closure_unix64) >> 16;
11 + tramp[3] = ((unsigned long) ffi_closure_unix64) >> 32;
12 + tramp[4] = ((unsigned long) ffi_closure_unix64) >> 48;
13 tramp[5] = 0xba49; /* mov <data>, %r10 */
14 - *((unsigned long long * volatile) &tramp[6])
15 - = (unsigned long) codeloc;
16 + tramp[6] = (unsigned long) codeloc;
17 + tramp[7] = ((unsigned long) codeloc) >> 16;
18 + tramp[8] = ((unsigned long) codeloc) >> 32;
19 + tramp[9] = ((unsigned long) codeloc) >> 48;
21 /* Set the carry bit iff the function uses any sse registers.
22 This is clc or stc, together with the first byte of the jmp. */
23 --- Objects/listobject.c
24 +++ Objects/listobject.c
27 for (i = 0; i < saved_ob_size; i++)
29 - if (keys != &ms.temparray[saved_ob_size+1])
30 + if (keys != ((char *) ms.temparray) + (saved_ob_size+1) * sizeof (PyObject *))
34 --- Objects/longobject.c
35 +++ Objects/longobject.c
38 get_small_int(sdigit ival)
40 - PyObject *v = (PyObject*)(small_ints + ival + NSMALLNEGINTS);
41 + PyObject *v = (PyObject*)(small_ints + (ival + NSMALLNEGINTS));