mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Kill two innocuous compiler warnings.
This commit is contained in:
parent
514a0f2c95
commit
0f0eb0b7fe
2 changed files with 2 additions and 2 deletions
|
@ -433,7 +433,8 @@ buffer_concat(PyBufferObject *self, PyObject *other)
|
|||
|
||||
if (PyUnicode_Check(other)) {
|
||||
/* XXX HACK */
|
||||
if ( (count = (*pb->bf_getcharbuffer)(other, 0, &ptr2)) < 0 )
|
||||
if ( (count = (*pb->bf_getcharbuffer)(other, 0,
|
||||
(char **)&ptr2)) < 0 )
|
||||
return NULL;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue