mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Changed all (hopefully) uses of unsigned 16 bit value to use H format specifier, now that h is signed-only.
This commit is contained in:
parent
89d017d072
commit
0b13e7c153
23 changed files with 86 additions and 86 deletions
|
@ -70,9 +70,9 @@ SndCmd_Convert(PyObject *v, SndCommand *pc)
|
|||
if (PyArg_ParseTuple(v, "h|hl", &pc->cmd, &pc->param1, &pc->param2))
|
||||
return 1;
|
||||
PyErr_Clear();
|
||||
return PyArg_ParseTuple(v, "hhs#", &pc->cmd, &pc->param1, &pc->param2, &len);
|
||||
return PyArg_ParseTuple(v, "Hhs#", &pc->cmd, &pc->param1, &pc->param2, &len);
|
||||
}
|
||||
return PyArg_Parse(v, "h", &pc->cmd);
|
||||
return PyArg_Parse(v, "H", &pc->cmd);
|
||||
}
|
||||
|
||||
static pascal void SndCh_UserRoutine(SndChannelPtr chan, SndCommand *cmd); /* Forward */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue