Issue 1703268: silenced a compiler warning (original) (raw)

Issue1703268

Created on 2007-04-18 21:37 by belopolsky, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
frameobject.patch belopolsky,2007-04-18 21:37 diff against revision 54869
Messages (2)
msg52446 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2007-04-18 21:37
Gcc complains as follows: Objects/frameobject.c:140: warning: passing arg 2 of `PyString_AsStringAndSize' from incompatible pointer type because code is declared as unsigned char* and PyString_AsStringAndSize expects an address of a plain char*. Attached patch adds an explicit cast to silence the warning.
msg52447 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2007-04-19 05:26
Brett just checked in 54873 to fix this problem. Thanks for the patch.
History
Date User Action Args
2022-04-11 14:56:23 admin set github: 44862
2007-04-18 21:37:03 belopolsky create