rem: sprintf(buf, "dev %d ino %d mtime %d refcnt %d evals %d size %d blocks %d scripts %d", keyPtr->dev, keyPtr->ino, (int) pagePtr->mtime, pagePtr->refcnt, pagePtr->evals, (int) pagePtr->size, pagePtr->code.nblocks,
add: sprintf(buf, "dev %ld ino %ld mtime %ld refcnt %d evals %d size %ld blocks %d scripts %d", keyPtr->dev, keyPtr->ino, pagePtr->mtime, pagePtr->refcnt, pagePtr->evals, pagePtr->size, pagePtr->code.nblocks,
context: NsTclAdpStatsCmd(ClientData arg, Tcl_Interp *interp, int argc, char **argv){    NsInterp *itPtr = arg;    NsServer *servPtr = itPtr->servPtr;    FileKey *keyPtr;    char buf[200];    Tcl_HashSearch search;    Tcl_HashEntry *hPtr;    Page *pagePtr;    Ns_MutexLock(&servPtr->adp.pagelock);    hPtr = Tcl_FirstHashEntry(&servPtr->adp.pages, &search);    while (hPtr != NULL) {	pagePtr = Tcl_GetHashValue(hPtr);	keyPtr = (FileKey *) Tcl_GetHashKey(&servPtr->adp.pages, hPtr);	Tcl_AppendElement(interp, pagePtr->file);	sprintf(buf, "dev %d ino %d mtime %d refcnt %d evals %d size %d blocks %d scripts %d",		keyPtr->dev, keyPtr->ino, (int) pagePtr->mtime, pagePtr->refcnt,		pagePtr->evals, (int) pagePtr->size, pagePtr->code.nblocks,		pagePtr->code.nscripts);	Tcl_AppendElement(interp, buf);	hPtr = Tcl_NextHashEntry(&search);    }    Ns_MutexUnlock(&servPtr->adp.pagelock);    return TCL_OK;}