diff options
Diffstat (limited to 'unix/tclLoadOSF.c')
| -rw-r--r-- | unix/tclLoadOSF.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclLoadOSF.c b/unix/tclLoadOSF.c index 9ed49f2..fbd4d5f 100644 --- a/unix/tclLoadOSF.c +++ b/unix/tclLoadOSF.c @@ -124,7 +124,7 @@ TclpDlopen(      } else {  	pkg++;      } -    newHandle = (Tcl_LoadHandle*) ckalloc(sizeof(*newHandle)); +    newHandle = ckalloc(sizeof(*newHandle));      newHandle->clientData = pkg;      newHandle->findSymbolProcPtr = &FindSymbol;      newHandle->unloadFileProcPtr = &UnloadFile; @@ -188,7 +188,7 @@ UnloadFile(  				 * TclpDlopen(). The loadHandle is a token  				 * that represents the loaded file. */  { -    ckfree((char*) loadHandle); +    ckfree(loadHandle);  }  /*  | 
