Index: generic/nsf.c =================================================================== diff -u -rd7a71fbd7bf10d919db4668670abbc4915f7f31d -r7c55d2affeb04a210fd1a3668cfb2200f4b81aaf --- generic/nsf.c (.../nsf.c) (revision d7a71fbd7bf10d919db4668670abbc4915f7f31d) +++ generic/nsf.c (.../nsf.c) (revision 7c55d2affeb04a210fd1a3668cfb2200f4b81aaf) @@ -27904,13 +27904,13 @@ } else if ((obj->typePtr == Nsf_OT_byteArrayType) || (obj->typePtr == Nsf_OT_properByteArrayType)) { const char *bytes; - int i, length; + TCL_SIZE_T i, length; bytes = (char *)Tcl_GetByteArrayFromObj(obj, &length); - fprintf(stderr, "bytearray proper %d length %d string rep %p: ", + fprintf(stderr, "bytearray proper %d length %ld string rep %p: ", (obj->typePtr == Nsf_OT_properByteArrayType), - length, (void*)obj->bytes); + (long)length, (void*)obj->bytes); for (i = 0; i < length; i++) { fprintf(stderr, "%.2x", (unsigned)(*(bytes+i)) & 0xff); } Index: generic/nsfProfile.c =================================================================== diff -u -r745c46b4619253f283fe4285d1f4a83375e3d9d7 -r7c55d2affeb04a210fd1a3668cfb2200f4b81aaf --- generic/nsfProfile.c (.../nsfProfile.c) (revision 745c46b4619253f283fe4285d1f4a83375e3d9d7) +++ generic/nsfProfile.c (.../nsfProfile.c) (revision 7c55d2affeb04a210fd1a3668cfb2200f4b81aaf) @@ -400,8 +400,9 @@ static int GetPair(Tcl_Interp *interp, Tcl_Obj *objPtr, int verbose, Tcl_Obj **nameObjPtr, int *nrArgsPtr) { - int result = TCL_OK, oc; - Tcl_Obj **ov; + int result = TCL_OK; + TCL_SIZE_T oc; + Tcl_Obj **ov; if (Tcl_ListObjGetElements(interp, objPtr, &oc, &ov) != TCL_OK) { if (verbose) { @@ -451,7 +452,8 @@ NsfProfileTrace(Tcl_Interp *interp, int withEnable, int withVerbose, int withDontsave, Tcl_Obj *builtinObjs) { NsfRuntimeState *rst; NsfProfile *profilePtr; - int oldProfileState, oc; + int oldProfileState; + TCL_SIZE_T oc; Tcl_Obj **ov; nonnull_assert(interp != NULL);