Index: generic/nsf.c =================================================================== diff -u -rfebe765f7fac1308029fd203b89e974e3ded8ee4 -r8f7c25f980c5433948a27be3cab5bb15d754b921 --- generic/nsf.c (.../nsf.c) (revision febe765f7fac1308029fd203b89e974e3ded8ee4) +++ generic/nsf.c (.../nsf.c) (revision 8f7c25f980c5433948a27be3cab5bb15d754b921) @@ -10973,7 +10973,7 @@ if (newItem != 0) { Tcl_SetHashValue(hPtr, INT2PTR(1)); } else { - int count = PTR2INT(Tcl_GetHashValue(hPtr)); + long count = PTR2INT(Tcl_GetHashValue(hPtr)); Tcl_SetHashValue(hPtr, INT2PTR(count+1)); } } @@ -13866,7 +13866,7 @@ if (ttPtr != NULL) { const char *methodName = data[0]; - unsigned int cmdFlags = PTR2UINT(data[3]); + unsigned int cmdFlags = (unsigned int)PTR2UINT(data[3]); #if defined(NSF_PROFILE) NsfRuntimeState *rst = RUNTIME_STATE(interp); #endif @@ -23380,7 +23380,8 @@ const char *errorMsg = ObjStr(resultObj); INCR_REF_COUNT(resultObj); - fprintf(stderr, "==== DEBUG AppVeyor: calling NsfForwardPrintError with <<%s>> (len %lu)\n", errorMsg, strlen(errorMsg)); + fprintf(stderr, "==== DEBUG AppVeyor: calling NsfForwardPrintError with <<%s>> (len %lu)\n", + errorMsg, (unsigned long)strlen(errorMsg)); result = NsfForwardPrintError(interp, tcd, objc, objv, "%s", errorMsg); DECR_REF_COUNT(resultObj); }