summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-30 21:27:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-30 21:27:34 (GMT)
commit3c5db5a964e812619488d2c39b738a480c49ce39 (patch)
tree4f85ce816e0c92bed93dd1b91ee7d90af29b6a5b /macosx
parent978ebdabc724269d5559757507f87bd121953099 (diff)
downloadtk-3c5db5a964e812619488d2c39b738a480c49ce39.zip
tk-3c5db5a964e812619488d2c39b738a480c49ce39.tar.gz
tk-3c5db5a964e812619488d2c39b738a480c49ce39.tar.bz2
even more int -> Tcl_Size
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXImage.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/tkMacOSXImage.c b/macosx/tkMacOSXImage.c
index 3933bc5..38f6fe3 100644
--- a/macosx/tkMacOSXImage.c
+++ b/macosx/tkMacOSXImage.c
@@ -1075,7 +1075,7 @@ struct TkMacOSXNSImageModel {
*/
static int TkMacOSXNSImageCreate(Tcl_Interp *interp,
- const char *name, int argc, Tcl_Obj *const objv[],
+ const char *name, Tcl_Size objc, Tcl_Obj *const objv[],
const Tk_ImageType *typePtr, Tk_ImageModel model,
ClientData *clientDataPtr);
static ClientData TkMacOSXNSImageGet(Tk_Window tkwin, ClientData clientData);
@@ -1220,7 +1220,7 @@ TkMacOSXNSImageConfigureModel(
Tcl_Interp *interp, /* Interpreter to use for reporting errors. */
TkMacOSXNSImageModel *modelPtr, /* Pointer to data structure describing
* overall photo image to (re)configure. */
- int objc, /* Number of entries in objv. */
+ Tcl_Size objc, /* Number of entries in objv. */
Tcl_Obj *const objv[]) /* Pairs of configuration options for image. */
{
Tk_OptionTable optionTable = Tk_CreateOptionTable(interp, systemImageOptions);
@@ -1481,7 +1481,7 @@ static int
TkMacOSXNSImageCreate(
Tcl_Interp *interp, /* Interpreter for application using image. */
const char *name, /* Name to use for image. */
- int objc, /* Number of arguments. */
+ Tcl_Size objc, /* Number of arguments. */
Tcl_Obj *const objv[], /* Argument strings for options (not
* including image name or type). */
TCL_UNUSED(const Tk_ImageType *), /* typePtr */
@@ -1538,7 +1538,7 @@ TkMacOSXNSImageCreate(
static ClientData
TkMacOSXNSImageGet(
TCL_UNUSED(Tk_Window), /* tkwin */
- ClientData clientData) /* Pointer to TkMacOSXNSImageModel for image. */
+ void *clientData) /* Pointer to TkMacOSXNSImageModel for image. */
{
TkMacOSXNSImageModel *modelPtr = (TkMacOSXNSImageModel *) clientData;
TkMacOSXNSImageInstance *instPtr;