diff -r 00e61cb3b11c Modules/audioop.c --- a/Modules/audioop.c Sat Oct 26 11:18:42 2013 +0300 +++ b/Modules/audioop.c Sun Oct 27 19:45:19 2013 +0000 @@ -15,7 +15,7 @@ #endif static const int maxvals[] = {0, 0x7F, 0x7FFF, 0x7FFFFF, 0x7FFFFFFF}; -static const int minvals[] = {0, -0x80, -0x8000, -0x800000, -0x80000000}; +static const int minvals[] = {0, -0x80, -0x8000, -0x800000, -(int)0x80000000}; static const unsigned int masks[] = {0, 0xFF, 0xFFFF, 0xFFFFFF, 0xFFFFFFFF}; static int @@ -434,7 +434,7 @@ signed char *cp; Py_ssize_t len, i; int size; - int min = 0x7fffffff, max = -0x80000000; + int min = 0x7fffffff, max = -(int)0x80000000; if (!PyArg_ParseTuple(args, "s#i:minmax", &cp, &len, &size)) return NULL;