Commit 33ec3ba2 authored by Martin v. Löwis's avatar Martin v. Löwis

Remove C++ comment. Silence unsigned char* cast warning.

parent 2fb661fb
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment