summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-12-07 14:57:11 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-12-07 14:57:11 (GMT)
commit33ec3ba2178a1816637bd63522504a5c3d07ff80 (patch)
treece2e7b4347000153532504031c2648c4dfe5f2e0 /Modules/_tkinter.c
parent2fb661fb80f30dae6dab01e320103ede275e1653 (diff)
downloadcpython-33ec3ba2178a1816637bd63522504a5c3d07ff80.zip
cpython-33ec3ba2178a1816637bd63522504a5c3d07ff80.tar.gz
cpython-33ec3ba2178a1816637bd63522504a5c3d07ff80.tar.bz2
Remove C++ comment. Silence unsigned char* cast warning.
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index a42b782..c623cbc 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -806,7 +806,7 @@ FromObj(PyObject* tkapp, Tcl_Obj *value)
if (value->typePtr == app->ByteArrayType) {
int size;
- char *data = Tcl_GetByteArrayFromObj(value, &size);
+ char *data = (char*)Tcl_GetByteArrayFromObj(value, &size);
return PyString_FromStringAndSize(data, size);
}
@@ -848,7 +848,7 @@ FromObj(PyObject* tkapp, Tcl_Obj *value)
}
if (value->typePtr == app->ProcBodyType) {
- // fall through: return tcl object
+ /* fall through: return tcl object. */
}
if (value->typePtr == app->StringType) {