summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadNext.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-06-21 11:23:23 (GMT)
committernijtmans <nijtmans>2010-06-21 11:23:23 (GMT)
commit7904f2c09aac76e42beaba3829d4e0bc702b5828 (patch)
tree42f60b267df843560dce3dc715050416409a7ed3 /unix/tclLoadNext.c
parentb959e69e2efe23f4904f8ebcb2c6638af32aeb4a (diff)
downloadtcl-7904f2c09aac76e42beaba3829d4e0bc702b5828.zip
tcl-7904f2c09aac76e42beaba3829d4e0bc702b5828.tar.gz
tcl-7904f2c09aac76e42beaba3829d4e0bc702b5828.tar.bz2
Eliminate various unnecessary type casts, use function typedefs whenever possible
Diffstat (limited to 'unix/tclLoadNext.c')
-rw-r--r--unix/tclLoadNext.c8
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;