summaryrefslogtreecommitdiffstats
path: root/generic/tclConfig.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-10 05:51:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-10 05:51:56 (GMT)
commit2a3d586a796e62f522303b3ab71c84743a73bf89 (patch)
tree75ee68f89422b10ec42523bafa46fae061c6489d /generic/tclConfig.c
parentd409a29e57b2d4ced1bad4b0bb5bb1e2387f4120 (diff)
parent6cf70a8d484881c9886d7d0cd5d2b9b6feac10fb (diff)
downloadtcl-2a3d586a796e62f522303b3ab71c84743a73bf89.zip
tcl-2a3d586a796e62f522303b3ab71c84743a73bf89.tar.gz
tcl-2a3d586a796e62f522303b3ab71c84743a73bf89.tar.bz2
Merge 8.7, and continue implementation. Almost done
Diffstat (limited to 'generic/tclConfig.c')
-rw-r--r--generic/tclConfig.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclConfig.c b/generic/tclConfig.c
index eb6807c..fe95eba 100644
--- a/generic/tclConfig.c
+++ b/generic/tclConfig.c
@@ -79,11 +79,11 @@ Tcl_RegisterConfig(
Tcl_Obj *pDB, *pkgDict;
Tcl_DString cmdName;
const Tcl_Config *cfg;
- QCCD *cdPtr = ckalloc(sizeof(QCCD));
+ QCCD *cdPtr = (QCCD *)ckalloc(sizeof(QCCD));
cdPtr->interp = interp;
if (valEncoding) {
- cdPtr->encoding = ckalloc(strlen(valEncoding)+1);
+ cdPtr->encoding = (char *)ckalloc(strlen(valEncoding)+1);
strcpy(cdPtr->encoding, valEncoding);
} else {
cdPtr->encoding = NULL;
@@ -199,7 +199,7 @@ QueryConfigObjCmd(
int objc,
struct Tcl_Obj *const *objv)
{
- QCCD *cdPtr = clientData;
+ QCCD *cdPtr = (QCCD *)clientData;
Tcl_Obj *pkgName = cdPtr->pkg;
Tcl_Obj *pDB, *pkgDict, *val, *listPtr;
int n, index;
@@ -326,7 +326,7 @@ static void
QueryConfigDelete(
ClientData clientData)
{
- QCCD *cdPtr = clientData;
+ QCCD *cdPtr = (QCCD *)clientData;
Tcl_Obj *pkgName = cdPtr->pkg;
Tcl_Obj *pDB = GetConfigDict(cdPtr->interp);
@@ -359,7 +359,7 @@ static Tcl_Obj *
GetConfigDict(
Tcl_Interp *interp)
{
- Tcl_Obj *pDB = Tcl_GetAssocData(interp, ASSOC_KEY, NULL);
+ Tcl_Obj *pDB = (Tcl_Obj *)Tcl_GetAssocData(interp, ASSOC_KEY, NULL);
if (pDB == NULL) {
pDB = Tcl_NewDictObj();
@@ -394,7 +394,7 @@ ConfigDictDeleteProc(
ClientData clientData, /* Pointer to Tcl_Obj. */
Tcl_Interp *interp) /* Interpreter being deleted. */
{
- Tcl_Obj *pDB = clientData;
+ Tcl_Obj *pDB = (Tcl_Obj *)clientData;
Tcl_DecrRefCount(pDB);
}