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

This commit is contained in:
Martin v. Löwis 2002-12-07 14:57:11 +00:00
parent 2fb661fb80
commit 33ec3ba217
1 changed files with 2 additions and 2 deletions

View File

@ -806,7 +806,7 @@ FromObj(PyObject* tkapp, Tcl_Obj *value)
if (value->typePtr == app->ByteArrayType) { if (value->typePtr == app->ByteArrayType) {
int size; int size;
char *data = Tcl_GetByteArrayFromObj(value, &size); char *data = (char*)Tcl_GetByteArrayFromObj(value, &size);
return PyString_FromStringAndSize(data, size); return PyString_FromStringAndSize(data, size);
} }
@ -848,7 +848,7 @@ FromObj(PyObject* tkapp, Tcl_Obj *value)
} }
if (value->typePtr == app->ProcBodyType) { if (value->typePtr == app->ProcBodyType) {
// fall through: return tcl object /* fall through: return tcl object. */
} }
if (value->typePtr == app->StringType) { if (value->typePtr == app->StringType) {