diff options
| author | nijtmans <nijtmans> | 2010-06-21 11:23:23 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2010-06-21 11:23:23 (GMT) |
| commit | 3191301e93941d615e07207a7a22698703a9a2fc (patch) | |
| tree | 42f60b267df843560dce3dc715050416409a7ed3 /unix/tclLoadNext.c | |
| parent | c95ce955c5ff5949cb1c16f25005f917ccb12c21 (diff) | |
| download | tcl-3191301e93941d615e07207a7a22698703a9a2fc.zip tcl-3191301e93941d615e07207a7a22698703a9a2fc.tar.gz tcl-3191301e93941d615e07207a7a22698703a9a2fc.tar.bz2 | |
Eliminate various unnecessary type casts, use function typedefs whenever possible
Diffstat (limited to 'unix/tclLoadNext.c')
| -rw-r--r-- | unix/tclLoadNext.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclLoadNext.c b/unix/tclLoadNext.c index 35aeba4..88b1568 100644 --- a/unix/tclLoadNext.c +++ b/unix/tclLoadNext.c @@ -6,10 +6,10 @@ * * Copyright (c) 1995-1997 Sun Microsystems, Inc. * - * See the file "license.terms" for information on usage and redistribution of - * this file, and for a DISCLAIMER OF ALL WARRANTIES. + * See the file "license.terms" for information on usage and redistribution + * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclLoadNext.c,v 1.17 2010/04/02 21:21:06 kennykb Exp $ + * RCS: @(#) $Id: tclLoadNext.c,v 1.18 2010/06/21 11:23:23 nijtmans Exp $ */ #include "tclInt.h" @@ -104,7 +104,7 @@ TclpDlopen( NXCloseMemory(errorStream, NX_FREEBUFFER); newHandle = (Tcl_LoadHandle) ckalloc(sizeof(*newHandle)); - newHandle->clientData = (ClientData) 1; + newHandle->clientData = INT2PTR(1); newHandle->findSymbolProcPtr = &FindSymbol; newHandle->unloadFileProcPtr = &UnloadFile; *loadHandle = newHandle; |
