Index: Modules/_ctypes/cfield.c =================================================================== --- Modules/_ctypes/cfield.c (révision 72287) +++ Modules/_ctypes/cfield.c (copie de travail) @@ -372,7 +372,7 @@ return -1; } x = PyInt_AsUnsignedLongMask(v); - if (x == -1 && PyErr_Occurred()) + if (x == (unsigned long)-1 && PyErr_Occurred()) return -1; *p = x; return 0; @@ -410,7 +410,7 @@ return -1; } x = PyInt_AsUnsignedLongLongMask(v); - if (x == -1 && PyErr_Occurred()) + if (x == (unsigned PY_LONG_LONG)-1 && PyErr_Occurred()) return -1; *p = x; return 0; Index: Modules/_randommodule.c =================================================================== --- Modules/_randommodule.c (révision 72287) +++ Modules/_randommodule.c (copie de travail) @@ -355,7 +355,7 @@ for (i=0; istate[i] = element & 0xffffffffUL; /* Make sure we get sane state */ }