diff options
author | pooryorick <com.digitalsmarties@pooryorick.com> | 2023-05-03 09:31:08 (GMT) |
---|---|---|
committer | pooryorick <com.digitalsmarties@pooryorick.com> | 2023-05-03 09:31:08 (GMT) |
commit | 88760a8a81789306d3f2b9986b8f9824a4e6d08d (patch) | |
tree | 6a8067d93798d412ad1f14c98436f02fb6e4505a /unix/dltest | |
parent | aa4247d47bc1e25669e09690c54330cebddd3f49 (diff) | |
download | tcl-88760a8a81789306d3f2b9986b8f9824a4e6d08d.zip tcl-88760a8a81789306d3f2b9986b8f9824a4e6d08d.tar.gz tcl-88760a8a81789306d3f2b9986b8f9824a4e6d08d.tar.bz2 |
Use Tcl_Size instead of ptrdiff_t in Tcl_ObjCmdProc2(), Tcl_CmdObjTraceProc2, and Tcl_MethodCallProc2().
Diffstat (limited to 'unix/dltest')
-rw-r--r-- | unix/dltest/pkgt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/dltest/pkgt.c b/unix/dltest/pkgt.c index 77e21ac..1f326f5 100644 --- a/unix/dltest/pkgt.c +++ b/unix/dltest/pkgt.c @@ -16,10 +16,10 @@ static int TraceProc2 ( void *clientData, Tcl_Interp *interp, - ptrdiff_t level, + Tcl_Size level, const char *command, Tcl_Command commandInfo, - ptrdiff_t objc, + Tcl_Size objc, struct Tcl_Obj *const *objv) { (void)clientData; @@ -55,12 +55,12 @@ static int Pkgt_EqObjCmd2( void *dummy, /* Not used. */ Tcl_Interp *interp, /* Current interpreter. */ - ptrdiff_t objc, /* Number of arguments. */ + Tcl_Size objc, /* Number of arguments. */ Tcl_Obj *const objv[]) /* Argument objects. */ { Tcl_WideInt result; const char *str1, *str2; - ptrdiff_t len1, len2; + Tcl_Size len1, len2; (void)dummy; if (objc != 3) { |